This site has been permanently archived. The content on this site was last updated in 2019.
GvrActivityHelper
Simple static class to abstract out several JNI calls that need to be shared between different classes.
Summary
Public attributes
|
PACKAGE_UNITY_PLAYER = "com.unity3d.player.UnityPlayer"
|
const string
Package name for the Android Unity player class.
|
Public attributes
PACKAGE_UNITY_PLAYER
const string PACKAGE_UNITY_PLAYER = "com.unity3d.player.UnityPlayer"
Package name for the Android Unity player class.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["`GvrActivityHelper` is a static class designed to simplify interactions between different classes by abstracting several Java Native Interface (JNI) calls."],["It includes a public attribute, `PACKAGE_UNITY_PLAYER`, a constant string storing the package name for the Android Unity player class (\"com.unity3d.player.UnityPlayer\")."]]],["The `GvrActivityHelper` class provides a centralized location for shared JNI calls. Its key attribute, `PACKAGE_UNITY_PLAYER`, a constant string, stores the package name for the Android Unity player class: `\"com.unity3d.player.UnityPlayer\"`. This static class serves to abstract and consolidate these calls, ensuring consistency and ease of access across different classes. The package name is specifically used for interacting with the Unity player on Android devices.\n"]]