|
static bool | GetIntentBooleanExtra (string key, bool defaultValue) |
| Returns a boolean from the Android intent extras.
|
|
static string | GetIntentStringExtra (string key) |
| Returns a string from the Android intent extras.
|
|
static bool | HasIntentExtra (string key) |
| Returns if the Android intent extras bundle has a key with the given name.
|
|
static bool | IsAppInstalled (string packageName) |
|
static bool | LaunchApp (string packageName, string[] extraKeys, string[] extraValues) |
|
|
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 7 of file PixoAndroidUtils.cs.
◆ 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 100 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 111 of file PixoAndroidUtils.cs.
◆ 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 86 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 |
◆ 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 13 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 69 of file PixoAndroidUtils.cs.
◆ PackageManager
AndroidJavaObject PixoVR.Apex.PixoAndroidUtils.PackageManager |
|
staticget |
The documentation for this class was generated from the following file: