Class CVRApplications
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.OpenVR.Headers
Assembly: cs.temp.dll.dll
Syntax
public class CVRApplications
Methods
AddApplicationManifest(String, Boolean)
Declaration
public EVRApplicationError AddApplicationManifest(string pchApplicationManifestFullPath, bool bTemporary)
Parameters
Type | Name | Description |
---|---|---|
String | pchApplicationManifestFullPath | |
Boolean | bTemporary |
Returns
Type | Description |
---|---|
EVRApplicationError |
CancelApplicationLaunch(String)
Declaration
public bool CancelApplicationLaunch(string pchAppKey)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey |
Returns
Type | Description |
---|---|
Boolean |
GetApplicationAutoLaunch(String)
Declaration
public bool GetApplicationAutoLaunch(string pchAppKey)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey |
Returns
Type | Description |
---|---|
Boolean |
GetApplicationCount()
Declaration
public uint GetApplicationCount()
Returns
Type | Description |
---|---|
UInt32 |
GetApplicationKeyByIndex(UInt32, StringBuilder, UInt32)
Declaration
public EVRApplicationError GetApplicationKeyByIndex(uint unApplicationIndex, StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | unApplicationIndex | |
StringBuilder | pchAppKeyBuffer | |
UInt32 | unAppKeyBufferLen |
Returns
Type | Description |
---|---|
EVRApplicationError |
GetApplicationKeyByProcessId(UInt32, StringBuilder, UInt32)
Declaration
public EVRApplicationError GetApplicationKeyByProcessId(uint unProcessId, StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | unProcessId | |
StringBuilder | pchAppKeyBuffer | |
UInt32 | unAppKeyBufferLen |
Returns
Type | Description |
---|---|
EVRApplicationError |
GetApplicationLaunchArguments(UInt32, StringBuilder, UInt32)
Declaration
public uint GetApplicationLaunchArguments(uint unHandle, StringBuilder pchArgs, uint unArgs)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | unHandle | |
StringBuilder | pchArgs | |
UInt32 | unArgs |
Returns
Type | Description |
---|---|
UInt32 |
GetApplicationProcessId(String)
Declaration
public uint GetApplicationProcessId(string pchAppKey)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey |
Returns
Type | Description |
---|---|
UInt32 |
GetApplicationPropertyBool(String, EVRApplicationProperty, ref EVRApplicationError)
Declaration
public bool GetApplicationPropertyBool(string pchAppKey, EVRApplicationProperty eProperty, ref EVRApplicationError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey | |
EVRApplicationProperty | eProperty | |
EVRApplicationError | peError |
Returns
Type | Description |
---|---|
Boolean |
GetApplicationPropertyString(String, EVRApplicationProperty, StringBuilder, UInt32, ref EVRApplicationError)
Declaration
public uint GetApplicationPropertyString(string pchAppKey, EVRApplicationProperty eProperty, StringBuilder pchPropertyValueBuffer, uint unPropertyValueBufferLen, ref EVRApplicationError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey | |
EVRApplicationProperty | eProperty | |
StringBuilder | pchPropertyValueBuffer | |
UInt32 | unPropertyValueBufferLen | |
EVRApplicationError | peError |
Returns
Type | Description |
---|---|
UInt32 |
GetApplicationPropertyUint64(String, EVRApplicationProperty, ref EVRApplicationError)
Declaration
public ulong GetApplicationPropertyUint64(string pchAppKey, EVRApplicationProperty eProperty, ref EVRApplicationError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey | |
EVRApplicationProperty | eProperty | |
EVRApplicationError | peError |
Returns
Type | Description |
---|---|
UInt64 |
GetApplicationsErrorNameFromEnum(EVRApplicationError)
Declaration
public string GetApplicationsErrorNameFromEnum(EVRApplicationError error)
Parameters
Type | Name | Description |
---|---|---|
EVRApplicationError | error |
Returns
Type | Description |
---|---|
String |
GetApplicationsThatSupportMimeType(String, StringBuilder, UInt32)
Declaration
public uint GetApplicationsThatSupportMimeType(string pchMimeType, StringBuilder pchAppKeysThatSupportBuffer, uint unAppKeysThatSupportBuffer)
Parameters
Type | Name | Description |
---|---|---|
String | pchMimeType | |
StringBuilder | pchAppKeysThatSupportBuffer | |
UInt32 | unAppKeysThatSupportBuffer |
Returns
Type | Description |
---|---|
UInt32 |
GetApplicationsTransitionStateNameFromEnum(EVRApplicationTransitionState)
Declaration
public string GetApplicationsTransitionStateNameFromEnum(EVRApplicationTransitionState state)
Parameters
Type | Name | Description |
---|---|---|
EVRApplicationTransitionState | state |
Returns
Type | Description |
---|---|
String |
GetApplicationSupportedMimeTypes(String, StringBuilder, UInt32)
Declaration
public bool GetApplicationSupportedMimeTypes(string pchAppKey, StringBuilder pchMimeTypesBuffer, uint unMimeTypesBuffer)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey | |
StringBuilder | pchMimeTypesBuffer | |
UInt32 | unMimeTypesBuffer |
Returns
Type | Description |
---|---|
Boolean |
GetCurrentSceneProcessId()
Declaration
public uint GetCurrentSceneProcessId()
Returns
Type | Description |
---|---|
UInt32 |
GetDefaultApplicationForMimeType(String, StringBuilder, UInt32)
Declaration
public bool GetDefaultApplicationForMimeType(string pchMimeType, StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
Type | Name | Description |
---|---|---|
String | pchMimeType | |
StringBuilder | pchAppKeyBuffer | |
UInt32 | unAppKeyBufferLen |
Returns
Type | Description |
---|---|
Boolean |
GetStartingApplication(StringBuilder, UInt32)
Declaration
public EVRApplicationError GetStartingApplication(StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
Type | Name | Description |
---|---|---|
StringBuilder | pchAppKeyBuffer | |
UInt32 | unAppKeyBufferLen |
Returns
Type | Description |
---|---|
EVRApplicationError |
GetTransitionState()
Declaration
public EVRApplicationTransitionState GetTransitionState()
Returns
Type | Description |
---|---|
EVRApplicationTransitionState |
IdentifyApplication(UInt32, String)
Declaration
public EVRApplicationError IdentifyApplication(uint unProcessId, string pchAppKey)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | unProcessId | |
String | pchAppKey |
Returns
Type | Description |
---|---|
EVRApplicationError |
IsApplicationInstalled(String)
Declaration
public bool IsApplicationInstalled(string pchAppKey)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey |
Returns
Type | Description |
---|---|
Boolean |
IsQuitUserPromptRequested()
Declaration
public bool IsQuitUserPromptRequested()
Returns
Type | Description |
---|---|
Boolean |
LaunchApplication(String)
Declaration
public EVRApplicationError LaunchApplication(string pchAppKey)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey |
Returns
Type | Description |
---|---|
EVRApplicationError |
LaunchApplicationFromMimeType(String, String)
Declaration
public EVRApplicationError LaunchApplicationFromMimeType(string pchMimeType, string pchArgs)
Parameters
Type | Name | Description |
---|---|---|
String | pchMimeType | |
String | pchArgs |
Returns
Type | Description |
---|---|
EVRApplicationError |
LaunchDashboardOverlay(String)
Declaration
public EVRApplicationError LaunchDashboardOverlay(string pchAppKey)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey |
Returns
Type | Description |
---|---|
EVRApplicationError |
LaunchInternalProcess(String, String, String)
Declaration
public EVRApplicationError LaunchInternalProcess(string pchBinaryPath, string pchArguments, string pchWorkingDirectory)
Parameters
Type | Name | Description |
---|---|---|
String | pchBinaryPath | |
String | pchArguments | |
String | pchWorkingDirectory |
Returns
Type | Description |
---|---|
EVRApplicationError |
LaunchTemplateApplication(String, String, AppOverrideKeys_t[])
Declaration
public EVRApplicationError LaunchTemplateApplication(string pchTemplateAppKey, string pchNewAppKey, AppOverrideKeys_t[] pKeys)
Parameters
Type | Name | Description |
---|---|---|
String | pchTemplateAppKey | |
String | pchNewAppKey | |
AppOverrideKeys_t[] | pKeys |
Returns
Type | Description |
---|---|
EVRApplicationError |
PerformApplicationPrelaunchCheck(String)
Declaration
public EVRApplicationError PerformApplicationPrelaunchCheck(string pchAppKey)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey |
Returns
Type | Description |
---|---|
EVRApplicationError |
RemoveApplicationManifest(String)
Declaration
public EVRApplicationError RemoveApplicationManifest(string pchApplicationManifestFullPath)
Parameters
Type | Name | Description |
---|---|---|
String | pchApplicationManifestFullPath |
Returns
Type | Description |
---|---|
EVRApplicationError |
SetApplicationAutoLaunch(String, Boolean)
Declaration
public EVRApplicationError SetApplicationAutoLaunch(string pchAppKey, bool bAutoLaunch)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey | |
Boolean | bAutoLaunch |
Returns
Type | Description |
---|---|
EVRApplicationError |
SetDefaultApplicationForMimeType(String, String)
Declaration
public EVRApplicationError SetDefaultApplicationForMimeType(string pchAppKey, string pchMimeType)
Parameters
Type | Name | Description |
---|---|---|
String | pchAppKey | |
String | pchMimeType |
Returns
Type | Description |
---|---|
EVRApplicationError |