C# Class Gvr.Internal.AndroidNativeControllerProvider

Inheritance: IControllerProvider
Datei anzeigen Open project: omgwtfgames/unity-cardboard-photosphere

Public Methods

Method Description
OnPause ( ) : void
OnResume ( ) : void
ReadState ( ControllerState outState ) : void

Private Methods

Method Description
AndroidNativeControllerProvider ( bool enableGyro, bool enableAccel ) : System
ConvertConnectionState ( int connectionState ) : GvrConnectionState
GetActivity ( ) : AndroidJavaObject
GetApplicationContext ( AndroidJavaObject activity ) : AndroidJavaObject
GetClassLoaderFromActivity ( AndroidJavaObject activity ) : AndroidJavaObject
gvr_controller_create_and_init_android ( IntPtr jniEnv, IntPtr androidContext, IntPtr classLoader, gvr_controller_api_options &options, IntPtr context ) : IntPtr
gvr_controller_destroy ( IntPtr &api ) : void
gvr_controller_init_default_options ( gvr_controller_api_options &options ) : void
gvr_controller_pause ( IntPtr api ) : void
gvr_controller_read_state ( IntPtr api, gvr_controller_state &out_state ) : void
gvr_controller_resume ( IntPtr api ) : void

Method Details

OnPause() public method

public OnPause ( ) : void
return void

OnResume() public method

public OnResume ( ) : void
return void

ReadState() public method

public ReadState ( ControllerState outState ) : void
outState ControllerState
return void