Method | Description | |
---|---|---|
AndroidFinish ( ) : void |
Calls finish on the Unity Activity.
|
|
AndroidQuit ( ) : void |
Calls quit on the Unity Activity.
|
|
ApplicationHasTangoPermissions ( string permissionType ) : bool |
Check if the application has a Tango permission.
|
|
GetCurrentApplicationLabel ( ) : string |
Gets the current application label.
|
|
GetCurrentPackageName ( ) : string |
Gets the name of the current package.
|
|
GetPackageInfo ( string packageName ) : |
Gets the package info.
|
|
GetScreenOrientation ( ) : int |
Get native android orientation index.
|
|
GetTangoDeviceOrientation ( ) : TangoDeviceOrientation |
Get the devices current and default orientations.
|
|
GetTangoHelperObject ( ) : AndroidJavaObject |
Gets the Java tango helper object.
|
|
GetUnityActivity ( ) : AndroidJavaObject |
Gets the unity activity.
|
|
GetVersionCode ( string packageName ) : int |
Gets the version code.
|
|
GetVersionName ( string packageName ) : string |
Gets the name of the version.
|
|
IsTangoCorePresent ( ) : bool |
Check if the Tango Core package is installed.
|
|
IsTangoCoreUpToDate ( ) : bool |
Check if the Tango Core package is up to date.
|
|
PerformanceLog ( string message ) : void |
Used for performance logging from the Android side.
|
|
RegisterOnActivityResultEvent ( OnActivityResultEventHandler onActivityResult ) : void |
Registers for the Android on activity result event.
|
|
RegisterOnScreenOrientationChangedEvent ( OnScreenOrientationChangedEventHandler onChanged ) : void |
Registers for on orientaiton change event.
|
|
RegisterPauseEvent ( OnPauseEventHandler onPause ) : void |
Registers for the Android pause event.
|
|
RegisterResumeEvent ( OnResumeEventHandler onResume ) : void |
Registers for the Android resume event.
|
|
ShowAndroidToastMessage ( string message ) : void |
Shows the android toast message.
|
|
ShowAndroidToastMessage ( string message, ToastLength length ) : void |
Shows the android toast message.
|
|
ShowAndroidToastMessage ( string message, bool callFinish ) : void |
Shows the android toast message.
|
|
StartActivity ( string className ) : void |
Starts the activity for the provided class name.
|
|
StartTangoPermissionsActivity ( string permissionsType ) : void |
Start the Tango permissions activity, requesting that permission.
|
Method | Description | |
---|---|---|
ConnectCloud ( ) : bool |
Connects to the TangoCloudService.
|
|
DisconnectCloud ( ) : bool |
Disconnects from the TangoCloudService.
|
|
StartExportADFActivity ( string srcAdfUuid, string exportLocation ) : void |
Call export ADF permission activity.
|
|
StartImportADFActivity ( string adfPath ) : void |
Call import ADF permission activity.
|
|
_RegisterCallbacks ( ) : void |
Inializes the AndroidJavaProxy for the Android lifecycle callbacks.
|
|
_ShowAndroidToastMessage ( string message, ToastLength length ) : void |
Shows the android toast message.
|
public static ApplicationHasTangoPermissions ( string permissionType ) : bool | ||
permissionType | string | String for the permission. |
return | bool |
public static GetCurrentApplicationLabel ( ) : string | ||
return | string |
public static GetCurrentPackageName ( ) : string | ||
return | string |
public static GetPackageInfo ( string packageName ) : |
||
packageName | string | Package name. |
return |
public static GetTangoDeviceOrientation ( ) : TangoDeviceOrientation | ||
return | TangoDeviceOrientation |
public static GetTangoHelperObject ( ) : AndroidJavaObject | ||
return | AndroidJavaObject |
public static GetUnityActivity ( ) : AndroidJavaObject | ||
return | AndroidJavaObject |
public static GetVersionCode ( string packageName ) : int | ||
packageName | string | Package name. |
return | int |
public static GetVersionName ( string packageName ) : string | ||
packageName | string | Package name. |
return | string |
public static PerformanceLog ( string message ) : void | ||
message | string | Message string to log. |
return | void |
public static RegisterOnActivityResultEvent ( OnActivityResultEventHandler onActivityResult ) : void | ||
onActivityResult | OnActivityResultEventHandler | On activity result. |
return | void |
public static RegisterOnScreenOrientationChangedEvent ( OnScreenOrientationChangedEventHandler onChanged ) : void | ||
onChanged | OnScreenOrientationChangedEventHandler | Delegate to call when the screen orientation changes. |
return | void |
public static RegisterPauseEvent ( OnPauseEventHandler onPause ) : void | ||
onPause | OnPauseEventHandler | On pause. |
return | void |
public static RegisterResumeEvent ( OnResumeEventHandler onResume ) : void | ||
onResume | OnResumeEventHandler | On resume. |
return | void |
public static ShowAndroidToastMessage ( string message ) : void | ||
message | string | Message string to show in the toast. |
return | void |
public static ShowAndroidToastMessage ( string message, ToastLength length ) : void | ||
message | string | Message string to show in the toast. |
length | ToastLength | Toast message time length. |
return | void |
public static ShowAndroidToastMessage ( string message, bool callFinish ) : void | ||
message | string | Message string to show in the toast. |
callFinish | bool | If set to |
return | void |
public static StartActivity ( string className ) : void | ||
className | string | Class name. |
return | void |
public static StartTangoPermissionsActivity ( string permissionsType ) : void | ||
permissionsType | string | String for the permission to request. |
return | void |