Class CVRApplications
- Namespace
- Valve.VR
- Assembly
- Stride.VirtualReality.dll
public class CVRApplications
- Inheritance
-
CVRApplications
Methods
AddApplicationManifest(string, bool)
public EVRApplicationError AddApplicationManifest(string pchApplicationManifestFullPath, bool bTemporary)
Parameters
pchApplicationManifestFullPath
string
bTemporary
bool
Returns
- EVRApplicationError
CancelApplicationLaunch(string)
public bool CancelApplicationLaunch(string pchAppKey)
Parameters
pchAppKey
string
Returns
- bool
GetApplicationAutoLaunch(string)
public bool GetApplicationAutoLaunch(string pchAppKey)
Parameters
pchAppKey
string
Returns
- bool
GetApplicationCount()
public uint GetApplicationCount()
Returns
- uint
GetApplicationKeyByIndex(uint, StringBuilder, uint)
public EVRApplicationError GetApplicationKeyByIndex(uint unApplicationIndex, StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
unApplicationIndex
uint
pchAppKeyBuffer
StringBuilder
unAppKeyBufferLen
uint
Returns
- EVRApplicationError
GetApplicationKeyByProcessId(uint, StringBuilder, uint)
public EVRApplicationError GetApplicationKeyByProcessId(uint unProcessId, StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
unProcessId
uint
pchAppKeyBuffer
StringBuilder
unAppKeyBufferLen
uint
Returns
- EVRApplicationError
GetApplicationLaunchArguments(uint, StringBuilder, uint)
public uint GetApplicationLaunchArguments(uint unHandle, StringBuilder pchArgs, uint unArgs)
Parameters
unHandle
uint
pchArgs
StringBuilder
unArgs
uint
Returns
- uint
GetApplicationProcessId(string)
public uint GetApplicationProcessId(string pchAppKey)
Parameters
pchAppKey
string
Returns
- uint
GetApplicationPropertyBool(string, EVRApplicationProperty, ref EVRApplicationError)
public bool GetApplicationPropertyBool(string pchAppKey, EVRApplicationProperty eProperty, ref EVRApplicationError peError)
Parameters
pchAppKey
string
eProperty
EVRApplicationProperty
peError
EVRApplicationError
Returns
- bool
GetApplicationPropertyString(string, EVRApplicationProperty, StringBuilder, uint, ref EVRApplicationError)
public uint GetApplicationPropertyString(string pchAppKey, EVRApplicationProperty eProperty, StringBuilder pchPropertyValueBuffer, uint unPropertyValueBufferLen, ref EVRApplicationError peError)
Parameters
pchAppKey
string
eProperty
EVRApplicationProperty
pchPropertyValueBuffer
StringBuilder
unPropertyValueBufferLen
uint
peError
EVRApplicationError
Returns
- uint
GetApplicationPropertyUint64(string, EVRApplicationProperty, ref EVRApplicationError)
public ulong GetApplicationPropertyUint64(string pchAppKey, EVRApplicationProperty eProperty, ref EVRApplicationError peError)
Parameters
pchAppKey
string
eProperty
EVRApplicationProperty
peError
EVRApplicationError
Returns
- ulong
GetApplicationSupportedMimeTypes(string, StringBuilder, uint)
public bool GetApplicationSupportedMimeTypes(string pchAppKey, StringBuilder pchMimeTypesBuffer, uint unMimeTypesBuffer)
Parameters
pchAppKey
string
pchMimeTypesBuffer
StringBuilder
unMimeTypesBuffer
uint
Returns
- bool
public string GetApplicationsErrorNameFromEnum(EVRApplicationError error)
Parameters
error
EVRApplicationError
Returns
- string
GetApplicationsThatSupportMimeType(string, StringBuilder, uint)
public uint GetApplicationsThatSupportMimeType(string pchMimeType, StringBuilder pchAppKeysThatSupportBuffer, uint unAppKeysThatSupportBuffer)
Parameters
pchMimeType
string
pchAppKeysThatSupportBuffer
StringBuilder
unAppKeysThatSupportBuffer
uint
Returns
- uint
GetCurrentSceneProcessId()
public uint GetCurrentSceneProcessId()
Returns
- uint
GetDefaultApplicationForMimeType(string, StringBuilder, uint)
public bool GetDefaultApplicationForMimeType(string pchMimeType, StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
pchMimeType
string
pchAppKeyBuffer
StringBuilder
unAppKeyBufferLen
uint
Returns
- bool
GetSceneApplicationState()
public EVRSceneApplicationState GetSceneApplicationState()
Returns
- EVRSceneApplicationState
public string GetSceneApplicationStateNameFromEnum(EVRSceneApplicationState state)
Parameters
state
EVRSceneApplicationState
Returns
- string
GetStartingApplication(StringBuilder, uint)
public EVRApplicationError GetStartingApplication(StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
pchAppKeyBuffer
StringBuilder
unAppKeyBufferLen
uint
Returns
- EVRApplicationError
IdentifyApplication(uint, string)
public EVRApplicationError IdentifyApplication(uint unProcessId, string pchAppKey)
Parameters
unProcessId
uint
pchAppKey
string
Returns
- EVRApplicationError
IsApplicationInstalled(string)
public bool IsApplicationInstalled(string pchAppKey)
Parameters
pchAppKey
string
Returns
- bool
LaunchApplication(string)
public EVRApplicationError LaunchApplication(string pchAppKey)
Parameters
pchAppKey
string
Returns
- EVRApplicationError
LaunchApplicationFromMimeType(string, string)
public EVRApplicationError LaunchApplicationFromMimeType(string pchMimeType, string pchArgs)
Parameters
pchMimeType
string
pchArgs
string
Returns
- EVRApplicationError
LaunchDashboardOverlay(string)
public EVRApplicationError LaunchDashboardOverlay(string pchAppKey)
Parameters
pchAppKey
string
Returns
- EVRApplicationError
LaunchInternalProcess(string, string, string)
public EVRApplicationError LaunchInternalProcess(string pchBinaryPath, string pchArguments, string pchWorkingDirectory)
Parameters
pchBinaryPath
string
pchArguments
string
pchWorkingDirectory
string
Returns
- EVRApplicationError
LaunchTemplateApplication(string, string, AppOverrideKeys_t[])
public EVRApplicationError LaunchTemplateApplication(string pchTemplateAppKey, string pchNewAppKey, AppOverrideKeys_t[] pKeys)
Parameters
pchTemplateAppKey
string
pchNewAppKey
string
pKeys
AppOverrideKeys_t[]
Returns
- EVRApplicationError
public EVRApplicationError PerformApplicationPrelaunchCheck(string pchAppKey)
Parameters
pchAppKey
string
Returns
- EVRApplicationError
RemoveApplicationManifest(string)
public EVRApplicationError RemoveApplicationManifest(string pchApplicationManifestFullPath)
Parameters
pchApplicationManifestFullPath
string
Returns
- EVRApplicationError
SetApplicationAutoLaunch(string, bool)
public EVRApplicationError SetApplicationAutoLaunch(string pchAppKey, bool bAutoLaunch)
Parameters
pchAppKey
string
bAutoLaunch
bool
Returns
- EVRApplicationError
public EVRApplicationError SetDefaultApplicationForMimeType(string pchAppKey, string pchMimeType)
Parameters
pchAppKey
string
pchMimeType
string
Returns
- EVRApplicationError