|
| static AndroidJavaObject | ApplicationContext [get] |
| | JNI to call CurrentActivity.getApplicationContext()
|
| |
| static AndroidJavaObject | ApplicationInfo [get] |
| | JNI to call ApplicationContext.getApplicationInfo()
|
| |
| static AndroidJavaObject | CurrentActivity [get] |
| | JNI to call com.unity.player.UnityPlayer.currentActivity()
|
| |
| static AndroidJavaObject | NativeUtils [get] |
| | Returns an instance of the PixoUtils.java class in the Apex SDK.
|
| |
| static AndroidJavaObject | PackageManager [get] |
| |
Definition at line 5 of file PixoAndroidUtils.cs.
◆ DeleteFileFromSharedStorage()
| static bool PixoVR.Apex.PixoAndroidUtils.DeleteFileFromSharedStorage |
( |
string | fileName | ) |
|
|
inlinestatic |
◆ DoesFileExistInSharedLocation()
| static bool PixoVR.Apex.PixoAndroidUtils.DoesFileExistInSharedLocation |
( |
string | fileName | ) |
|
|
inlinestatic |
◆ GetIntentBooleanExtra()
| static bool PixoVR.Apex.PixoAndroidUtils.GetIntentBooleanExtra |
( |
string | key, |
|
|
bool | defaultValue ) |
|
inlinestatic |
Returns a boolean from the Android intent extras.
- Parameters
-
| key | The key to read the boolean from |
| defaultValue | The default value in case the key doesn't exist |
- Returns
Definition at line 98 of file PixoAndroidUtils.cs.
◆ GetIntentStringExtra()
| static string PixoVR.Apex.PixoAndroidUtils.GetIntentStringExtra |
( |
string | key | ) |
|
|
inlinestatic |
Returns a string from the Android intent extras.
- Parameters
-
| key | The key to read the string from |
- Returns
Definition at line 109 of file PixoAndroidUtils.cs.
◆ GetPackageLocation()
| static string PixoVR.Apex.PixoAndroidUtils.GetPackageLocation |
( |
string | packageName | ) |
|
|
inlinestatic |
◆ HasIntentExtra()
| static bool PixoVR.Apex.PixoAndroidUtils.HasIntentExtra |
( |
string | key | ) |
|
|
inlinestatic |
Returns if the Android intent extras bundle has a key with the given name.
- Parameters
-
- Returns
Definition at line 84 of file PixoAndroidUtils.cs.
◆ IsAppInstalled()
| static bool PixoVR.Apex.PixoAndroidUtils.IsAppInstalled |
( |
string | packageName | ) |
|
|
inlinestatic |
◆ LaunchApp()
| static bool PixoVR.Apex.PixoAndroidUtils.LaunchApp |
( |
string | packageName, |
|
|
string[] | extraKeys, |
|
|
string[] | extraValues ) |
|
inlinestatic |
◆ LaunchUrl()
| static bool PixoVR.Apex.PixoAndroidUtils.LaunchUrl |
( |
string | url | ) |
|
|
inlinestatic |
◆ Quit()
| static void PixoVR.Apex.PixoAndroidUtils.Quit |
( |
| ) |
|
|
inlinestatic |
◆ ReadFileFromSharedStorage()
| static string PixoVR.Apex.PixoAndroidUtils.ReadFileFromSharedStorage |
( |
string | fileName | ) |
|
|
inlinestatic |
◆ WriteFileToSharedLocation()
| static string PixoVR.Apex.PixoAndroidUtils.WriteFileToSharedLocation |
( |
string | fileName, |
|
|
string | content ) |
|
inlinestatic |
◆ applicationContext
| AndroidJavaObject PixoVR.Apex.PixoAndroidUtils.applicationContext |
|
staticprivate |
◆ applicationInfo
| AndroidJavaObject PixoVR.Apex.PixoAndroidUtils.applicationInfo |
|
staticprivate |
◆ currentActivity
| AndroidJavaObject PixoVR.Apex.PixoAndroidUtils.currentActivity |
|
staticprivate |
◆ nativeUtils
| AndroidJavaObject PixoVR.Apex.PixoAndroidUtils.nativeUtils |
|
staticprivate |
◆ packageManager
| AndroidJavaObject PixoVR.Apex.PixoAndroidUtils.packageManager |
|
staticprivate |
◆ ApplicationContext
| AndroidJavaObject PixoVR.Apex.PixoAndroidUtils.ApplicationContext |
|
staticget |
◆ ApplicationInfo
| AndroidJavaObject PixoVR.Apex.PixoAndroidUtils.ApplicationInfo |
|
staticget |
◆ CurrentActivity
| AndroidJavaObject PixoVR.Apex.PixoAndroidUtils.CurrentActivity |
|
staticget |
JNI to call com.unity.player.UnityPlayer.currentActivity()
Definition at line 11 of file PixoAndroidUtils.cs.
◆ NativeUtils
| AndroidJavaObject PixoVR.Apex.PixoAndroidUtils.NativeUtils |
|
staticget |
Returns an instance of the PixoUtils.java class in the Apex SDK.
Definition at line 67 of file PixoAndroidUtils.cs.
◆ PackageManager
| AndroidJavaObject PixoVR.Apex.PixoAndroidUtils.PackageManager |
|
staticget |
The documentation for this class was generated from the following file: