API reference
API reference
Select your platform
No SDKs available
No versions available

WindowsPlatform Class

Object that has ability of initializing the Platform SDK. This initialization is specifically for the Windows operating system and unity development. You can get more information about the initializing the Platform SDK in our docs.

Methods

AsyncInitialize ( appId )
Takes a string representing the app ID of the Application for initialization. This is an asynchronous call and will return a request of type Models.PlatformInitialize.
Signature
Request<Models.PlatformInitialize> Oculus.Platform.WindowsPlatform.AsyncInitialize(string appId)
Parameters
appId: string
Initialize ( appId )
Takes a string representing the app ID of the Application for initialization. An invalid app ID will result in a unity exception. Upon success, will return true.
Signature
bool Oculus.Platform.WindowsPlatform.Initialize(string appId)
Parameters
appId: string
Returns
bool
UnityLogDelegate ( tag , msg )
Signature
delegate void Oculus.Platform.WindowsPlatform.UnityLogDelegate(IntPtr tag, IntPtr msg)
Parameters
tag: IntPtr
msg: IntPtr
Returns
delegate void