This site has been permanently archived. The content on this site was last updated in 2019. 
         
     
  
  
  
  
  
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
  
  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."],[],["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"]]