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.
GvrKeyboardIntent
A class for launching and managing GVR keyboard intents.
Summary
Properties
|
Instance
|
Gets the singleton instance of the PermissionsRequester class, lazily instantiated.
|
Public functions
|
LaunchPlayStore()
|
void
Start the intent to launch the Play Store.
|
Properties
Instance
static GvrKeyboardIntent Instance
Gets the singleton instance of the PermissionsRequester
class, lazily instantiated.
A singleton instance the PermissionsRequester
class.
Public functions
LaunchPlayStore
void LaunchPlayStore()
Start the intent to launch the Play Store.
Protected functions
InitializeFragment
bool InitializeFragment()
Initializes the fragment via JNI.
Details |
Returns
|
True if fragment was initialized.
|
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."],[[["\u003cp\u003e\u003ccode\u003eGvrKeyboardIntent\u003c/code\u003e is a class used for launching and managing Google VR keyboard intents, primarily focusing on launching the Play Store.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes a singleton instance for access and employs JNI for fragment initialization.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides a function \u003ccode\u003eLaunchPlayStore()\u003c/code\u003e to initiate the intent for launching the Play Store.\u003c/p\u003e\n"],["\u003cp\u003eFragment initialization status can be determined using the \u003ccode\u003eInitializeFragment()\u003c/code\u003e function, returning true upon successful initialization.\u003c/p\u003e\n"]]],["The `GvrKeyboardIntent` class manages GVR keyboard intents. It provides a singleton `Instance` for access. The class allows launching the Play Store via the `LaunchPlayStore` function. Internally, it utilizes the `InitializeFragment` function, which initializes a fragment through JNI, returning `true` if successful. These actions facilitate interaction with the keyboard and related services.\n"],null,["# GvrKeyboardIntent Class Reference\n\nGvrKeyboardIntent\n=================\n\nA class for launching and managing GVR keyboard intents.\n\nSummary\n-------\n\n| ### Properties ||\n|------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Instance](#classGvrKeyboardIntent_1a6472a1990ca7ca120ef55238b0ca6373) | `static `[GvrKeyboardIntent](/vr/reference/unity/class/GvrKeyboardIntent#classGvrKeyboardIntent) Gets the singleton instance of the `PermissionsRequester` class, lazily instantiated. |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------|---------------------------------------------------|\n| [LaunchPlayStore](#classGvrKeyboardIntent_1af1c2eea77055cfa18f4026a032e9d498)`()` | `void` Start the intent to launch the Play Store. |\n\n| ### Protected functions ||\n|--------------------------------------------------------------------------------------|------------------------------------------|\n| [InitializeFragment](#classGvrKeyboardIntent_1a521faef7051cf4aa3bf33fc80dfd5105)`()` | `bool` Initializes the fragment via JNI. |\n\nProperties\n----------\n\n### Instance\n\n```c#\nstatic GvrKeyboardIntent Instance\n``` \nGets the singleton instance of the `PermissionsRequester` class, lazily instantiated.\n\nA singleton instance the `PermissionsRequester` class.\n\nPublic functions\n----------------\n\n### LaunchPlayStore\n\n```c#\nvoid LaunchPlayStore()\n``` \nStart the intent to launch the Play Store.\n\nProtected functions\n-------------------\n\n### InitializeFragment\n\n```c#\nbool InitializeFragment()\n``` \nInitializes the fragment via JNI.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|-----------------------------------|\n| **Returns** | True if fragment was initialized. |"]]