AsyncInitialize
(
appId
)
|
This method initializes the platform features asynchronously, allowing you to perform other functions, including calls to the Platform SDK, concurrently while the SDK is initializing. It also takes an app ID as a parameter. It checks for the presence of an App ID, and throws an exception if it is missing. If the necessary credentials are present, it calls the CAPI.ovr_UnityInitWrapper() function to perform the actual initialization.
Signature
Request<Models.PlatformInitialize> Oculus.Platform.AndroidPlatform.AsyncInitialize(string appId) Parameters appId: stringReturns Request< Models.PlatformInitialize > |
Initialize
(
appId
)
|
This method initializes the platform features synchronously, running on the thread you initialize on. It takes an app ID as a parameter. It checks for the presence of an App ID, and throws an exception if it is missing. If the necessary credentials are present, it calls the CAPI.ovr_UnityInitWrapper() function to perform the actual initialization.
Signature
bool Oculus.Platform.AndroidPlatform.Initialize(string appId) Parameters appId: stringReturns bool |