Top Description Constructors Methods
org.lwjgl.openvr

public Class VRApplications

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

Application management.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nVRApplications_AddApplicationManifest(long pchApplicationManifestFullPath, boolean bTemporary)

Unsafe version of: AddApplicationManifest

public static boolean
public static boolean
public static int
nVRApplications_GetApplicationKeyByIndex(int unApplicationIndex, long pchAppKeyBuffer, int unAppKeyBufferLen)

Unsafe version of: GetApplicationKeyByIndex

public static int
nVRApplications_GetApplicationKeyByProcessId(int unProcessId, long pchAppKeyBuffer, int unAppKeyBufferLen)

Unsafe version of: GetApplicationKeyByProcessId

public static int
nVRApplications_GetApplicationLaunchArguments(int unHandle, long pchArgs, int unArgs)

Unsafe version of: GetApplicationLaunchArguments

public static int
public static boolean
nVRApplications_GetApplicationPropertyBool(long pchAppKey, int eProperty, long peError)

Unsafe version of: GetApplicationPropertyBool

public static int
nVRApplications_GetApplicationPropertyString(long pchAppKey, int eProperty, long pchPropertyValueBuffer, int unPropertyValueBufferLen, long peError)

Unsafe version of: GetApplicationPropertyString

public static long
nVRApplications_GetApplicationPropertyUint64(long pchAppKey, int eProperty, long peError)

Unsafe version of: GetApplicationPropertyUint64

public static long
public static int
nVRApplications_GetApplicationsThatSupportMimeType(long pchMimeType, long pchAppKeysThatSupportBuffer, int unAppKeysThatSupportBuffer)

Unsafe version of: GetApplicationsThatSupportMimeType

public static boolean
nVRApplications_GetApplicationSupportedMimeTypes(long pchAppKey, long pchMimeTypesBuffer, int unMimeTypesBuffer)

Unsafe version of: GetApplicationSupportedMimeTypes

public static boolean
nVRApplications_GetDefaultApplicationForMimeType(long pchMimeType, long pchAppKeyBuffer, int unAppKeyBufferLen)

Unsafe version of: GetDefaultApplicationForMimeType

public static long
public static int
nVRApplications_GetStartingApplication(long pchAppKeyBuffer, int unAppKeyBufferLen)

Unsafe version of: GetStartingApplication

public static int
nVRApplications_IdentifyApplication(int unProcessId, long pchAppKey)

Unsafe version of: IdentifyApplication

public static boolean
public static int
nVRApplications_LaunchApplication(long pchAppKey)

Unsafe version of: LaunchApplication

public static int
nVRApplications_LaunchApplicationFromMimeType(long pchMimeType, long pchArgs)

Unsafe version of: LaunchApplicationFromMimeType

public static int
public static int
nVRApplications_LaunchInternalProcess(long pchBinaryPath, long pchArguments, long pchWorkingDirectory)

Unsafe version of: LaunchInternalProcess

public static int
nVRApplications_LaunchTemplateApplication(long pchTemplateAppKey, long pchNewAppKey, long pKeys, int unKeys)

Unsafe version of: LaunchTemplateApplication

public static int
public static int
nVRApplications_RemoveApplicationManifest(long pchApplicationManifestFullPath)

Unsafe version of: RemoveApplicationManifest

public static int
nVRApplications_SetApplicationAutoLaunch(long pchAppKey, boolean bAutoLaunch)

Unsafe version of: SetApplicationAutoLaunch

public static int
nVRApplications_SetDefaultApplicationForMimeType(long pchAppKey, long pchMimeType)

Unsafe version of: SetDefaultApplicationForMimeType

public static int
VRApplications_AddApplicationManifest(ByteBuffer pchApplicationManifestFullPath, boolean bTemporary)

Adds an application manifest to the list to load when building the list of installed applications.

public static int
VRApplications_AddApplicationManifest(CharSequence pchApplicationManifestFullPath, boolean bTemporary)

Adds an application manifest to the list to load when building the list of installed applications.

public static boolean
VRApplications_CancelApplicationLaunch(ByteBuffer pchAppKey)

Cancel a pending launch for an application.

public static boolean
VRApplications_CancelApplicationLaunch(CharSequence pchAppKey)

Cancel a pending launch for an application.

public static boolean
VRApplications_GetApplicationAutoLaunch(ByteBuffer pchAppKey)

Gets the application auto-launch flag.

public static boolean
VRApplications_GetApplicationAutoLaunch(CharSequence pchAppKey)

Gets the application auto-launch flag.

public static int
VRApplications_GetApplicationCount()

Returns the number of applications available in the list.

public static int
VRApplications_GetApplicationKeyByIndex(int unApplicationIndex, ByteBuffer pchAppKeyBuffer)

Returns the key of the specified application.

public static int
VRApplications_GetApplicationKeyByProcessId(int unProcessId, ByteBuffer pchAppKeyBuffer)

Returns the key of the application for the specified Process Id. The buffer should be at least VR#k_unMaxApplicationKeyLength in order to fit the key.

public static int
VRApplications_GetApplicationLaunchArguments(int unHandle, ByteBuffer pchArgs)

Get the args list from an app launch that had the process already running, you call this when you get a VR#EVREventType_VREvent_ApplicationMimeTypeLoad.

public static String
VRApplications_GetApplicationLaunchArguments(int unHandle, int unArgs)

Get the args list from an app launch that had the process already running, you call this when you get a VR#EVREventType_VREvent_ApplicationMimeTypeLoad.

public static int
VRApplications_GetApplicationProcessId(ByteBuffer pchAppKey)

Returns the process ID for an application.

public static int
VRApplications_GetApplicationProcessId(CharSequence pchAppKey)

Returns the process ID for an application.

public static boolean
public static boolean
public static int
public static int
public static String
public static String
public static long
VRApplications_GetApplicationPropertyUint64(ByteBuffer pchAppKey, int eProperty, IntBuffer peError)

Returns a uint64 value for an application property.

public static long
VRApplications_GetApplicationPropertyUint64(CharSequence pchAppKey, int eProperty, IntBuffer peError)

Returns a uint64 value for an application property.

public static String
public static int
VRApplications_GetApplicationsThatSupportMimeType(ByteBuffer pchMimeType, ByteBuffer pchAppKeysThatSupportBuffer)

Get the list of app-keys that support this mime type, comma-delimited, the return value is number of bytes you need to return the full string.

public static int
VRApplications_GetApplicationsThatSupportMimeType(CharSequence pchMimeType, ByteBuffer pchAppKeysThatSupportBuffer)

Get the list of app-keys that support this mime type, comma-delimited, the return value is number of bytes you need to return the full string.

public static String
VRApplications_GetApplicationsThatSupportMimeType(CharSequence pchMimeType, int unAppKeysThatSupportBuffer)

Get the list of app-keys that support this mime type, comma-delimited, the return value is number of bytes you need to return the full string.

public static boolean
VRApplications_GetApplicationSupportedMimeTypes(ByteBuffer pchAppKey, ByteBuffer pchMimeTypesBuffer)

Get the list of supported mime types for this application, comma-delimited.

public static boolean
VRApplications_GetApplicationSupportedMimeTypes(CharSequence pchAppKey, ByteBuffer pchMimeTypesBuffer)

Get the list of supported mime types for this application, comma-delimited.

public static int
VRApplications_GetCurrentSceneProcessId()

Returns the current scene process ID according to the application system.

public static boolean
VRApplications_GetDefaultApplicationForMimeType(ByteBuffer pchMimeType, ByteBuffer pchAppKeyBuffer)

Return the app key that will open this mime type.

public static boolean
VRApplications_GetDefaultApplicationForMimeType(CharSequence pchMimeType, ByteBuffer pchAppKeyBuffer)

Return the app key that will open this mime type.

public static int
VRApplications_GetSceneApplicationState()

Returns the application transition state.

public static String
public static int
VRApplications_GetStartingApplication(ByteBuffer pchAppKeyBuffer)

Returns the app key for the application that is starting up.

public static int
VRApplications_IdentifyApplication(int unProcessId, ByteBuffer pchAppKey)

Identifies a running application.

public static int
VRApplications_IdentifyApplication(int unProcessId, CharSequence pchAppKey)

Identifies a running application.

public static boolean
VRApplications_IsApplicationInstalled(ByteBuffer pchAppKey)

Returns true if an application is installed.

public static boolean
VRApplications_IsApplicationInstalled(CharSequence pchAppKey)

Returns true if an application is installed.

public static int
VRApplications_LaunchApplication(ByteBuffer pchAppKey)

Launches the application.

public static int
VRApplications_LaunchApplication(CharSequence pchAppKey)

Launches the application.

public static int
VRApplications_LaunchApplicationFromMimeType(ByteBuffer pchMimeType, ByteBuffer pchArgs)

Launches the application currently associated with this mime type and passes it the option args, typically the filename or object name of the item being launched.

public static int
VRApplications_LaunchApplicationFromMimeType(CharSequence pchMimeType, CharSequence pchArgs)

Launches the application currently associated with this mime type and passes it the option args, typically the filename or object name of the item being launched.

public static int
VRApplications_LaunchDashboardOverlay(ByteBuffer pchAppKey)

Launches the dashboard overlay application if it is not already running.

public static int
VRApplications_LaunchDashboardOverlay(CharSequence pchAppKey)

Launches the dashboard overlay application if it is not already running.

public static int
VRApplications_LaunchInternalProcess(ByteBuffer pchBinaryPath, ByteBuffer pchArguments, ByteBuffer pchWorkingDirectory)

Starts a subprocess within the calling application.

public static int
VRApplications_LaunchInternalProcess(CharSequence pchBinaryPath, CharSequence pchArguments, CharSequence pchWorkingDirectory)

Starts a subprocess within the calling application.

public static int
VRApplications_LaunchTemplateApplication(ByteBuffer pchTemplateAppKey, ByteBuffer pchNewAppKey, AppOverrideKeys.Buffer pKeys)

Launches an instance of an application of type template, with its app key being pchNewAppKey (which must be unique) and optionally override sections from the manifest file via AppOverrideKeys.

public static int
VRApplications_LaunchTemplateApplication(CharSequence pchTemplateAppKey, CharSequence pchNewAppKey, AppOverrideKeys.Buffer pKeys)

Launches an instance of an application of type template, with its app key being pchNewAppKey (which must be unique) and optionally override sections from the manifest file via AppOverrideKeys.

public static int
VRApplications_PerformApplicationPrelaunchCheck(ByteBuffer pchAppKey)

Returns errors that would prevent the specified application from launching immediately.

public static int
VRApplications_PerformApplicationPrelaunchCheck(CharSequence pchAppKey)

Returns errors that would prevent the specified application from launching immediately.

public static int
VRApplications_RemoveApplicationManifest(ByteBuffer pchApplicationManifestFullPath)

Removes an application manifest from the list to load when building the list of installed applications.

public static int
VRApplications_RemoveApplicationManifest(CharSequence pchApplicationManifestFullPath)

Removes an application manifest from the list to load when building the list of installed applications.

public static int
VRApplications_SetApplicationAutoLaunch(ByteBuffer pchAppKey, boolean bAutoLaunch)

Sets the application auto-launch flag.

public static int
VRApplications_SetApplicationAutoLaunch(CharSequence pchAppKey, boolean bAutoLaunch)

Sets the application auto-launch flag.

public static int
VRApplications_SetDefaultApplicationForMimeType(ByteBuffer pchAppKey, ByteBuffer pchMimeType)

Adds this mime-type to the list of supported mime types for this application.

public static int
VRApplications_SetDefaultApplicationForMimeType(CharSequence pchAppKey, CharSequence pchMimeType)

Adds this mime-type to the list of supported mime types for this application.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait