CVRApplications Class
Namespace: Valve.VR
Assembly: Stride.VirtualReality.dll
System.Object →
CVRApplications
Derived from CVRApplications:
public class CVRApplications
Name |
Description |
Methods
|
|
AddApplicationManifest(String, Boolean) |
|
|
CancelApplicationLaunch(String) |
|
|
GetApplicationAutoLaunch(String) |
|
|
GetApplicationCount() |
|
|
GetApplicationKeyByIndex(UInt32, StringBuilder, UInt32) |
|
|
GetApplicationKeyByProcessId(UInt32, StringBuilder, UInt32) |
|
|
GetApplicationLaunchArguments(UInt32, StringBuilder, UInt32) |
|
|
GetApplicationProcessId(String) |
|
|
GetApplicationPropertyBool(String, EVRApplicationProperty, ref EVRApplicationError) |
|
|
GetApplicationPropertyString(String, EVRApplicationProperty, StringBuilder, UInt32, ref EVRApplicationError) |
|
|
GetApplicationPropertyUint64(String, EVRApplicationProperty, ref EVRApplicationError) |
|
|
GetApplicationsErrorNameFromEnum(EVRApplicationError) |
|
|
GetApplicationsThatSupportMimeType(String, StringBuilder, UInt32) |
|
|
GetApplicationSupportedMimeTypes(String, StringBuilder, UInt32) |
|
|
GetCurrentSceneProcessId() |
|
|
GetDefaultApplicationForMimeType(String, StringBuilder, UInt32) |
|
|
GetSceneApplicationState() |
|
|
GetSceneApplicationStateNameFromEnum(EVRSceneApplicationState) |
|
|
GetStartingApplication(StringBuilder, UInt32) |
|
|
IdentifyApplication(UInt32, String) |
|
|
IsApplicationInstalled(String) |
|
|
LaunchApplication(String) |
|
|
LaunchApplicationFromMimeType(String, String) |
|
|
LaunchDashboardOverlay(String) |
|
|
LaunchInternalProcess(String, String, String) |
|
|
LaunchTemplateApplication(String, String, AppOverrideKeys_t[]) |
|
|
PerformApplicationPrelaunchCheck(String) |
|
|
RemoveApplicationManifest(String) |
|
|
SetApplicationAutoLaunch(String, Boolean) |
|
|
SetDefaultApplicationForMimeType(String, String) |
|
|
Improve this Doc
View Source
Methods
AddApplicationManifest(String, Boolean)
public EVRApplicationError AddApplicationManifest(string pchApplicationManifestFullPath, bool bTemporary)
Parameters
Type |
Name |
Description |
System.String |
pchApplicationManifestFullPath |
|
System.Boolean |
bTemporary |
|
Returns
CancelApplicationLaunch(String)
public bool CancelApplicationLaunch(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
Type |
Description |
System.Boolean |
|
GetApplicationAutoLaunch(String)
public bool GetApplicationAutoLaunch(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
Type |
Description |
System.Boolean |
|
GetApplicationCount()
public uint GetApplicationCount()
Returns
Type |
Description |
System.UInt32 |
|
GetApplicationKeyByIndex(UInt32, StringBuilder, UInt32)
public EVRApplicationError GetApplicationKeyByIndex(uint unApplicationIndex, StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
Type |
Name |
Description |
System.UInt32 |
unApplicationIndex |
|
System.Text.StringBuilder |
pchAppKeyBuffer |
|
System.UInt32 |
unAppKeyBufferLen |
|
Returns
GetApplicationKeyByProcessId(UInt32, StringBuilder, UInt32)
public EVRApplicationError GetApplicationKeyByProcessId(uint unProcessId, StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
Type |
Name |
Description |
System.UInt32 |
unProcessId |
|
System.Text.StringBuilder |
pchAppKeyBuffer |
|
System.UInt32 |
unAppKeyBufferLen |
|
Returns
GetApplicationLaunchArguments(UInt32, StringBuilder, UInt32)
public uint GetApplicationLaunchArguments(uint unHandle, StringBuilder pchArgs, uint unArgs)
Parameters
Type |
Name |
Description |
System.UInt32 |
unHandle |
|
System.Text.StringBuilder |
pchArgs |
|
System.UInt32 |
unArgs |
|
Returns
Type |
Description |
System.UInt32 |
|
GetApplicationProcessId(String)
public uint GetApplicationProcessId(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
Type |
Description |
System.UInt32 |
|
GetApplicationPropertyBool(String, EVRApplicationProperty, ref EVRApplicationError)
public bool GetApplicationPropertyBool(string pchAppKey, EVRApplicationProperty eProperty, ref EVRApplicationError peError)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetApplicationPropertyString(String, EVRApplicationProperty, StringBuilder, UInt32, ref EVRApplicationError)
public uint GetApplicationPropertyString(string pchAppKey, EVRApplicationProperty eProperty, StringBuilder pchPropertyValueBuffer, uint unPropertyValueBufferLen, ref EVRApplicationError peError)
Parameters
Returns
Type |
Description |
System.UInt32 |
|
GetApplicationPropertyUint64(String, EVRApplicationProperty, ref EVRApplicationError)
public ulong GetApplicationPropertyUint64(string pchAppKey, EVRApplicationProperty eProperty, ref EVRApplicationError peError)
Parameters
Returns
Type |
Description |
System.UInt64 |
|
public string GetApplicationsErrorNameFromEnum(EVRApplicationError error)
Parameters
Returns
Type |
Description |
System.String |
|
GetApplicationsThatSupportMimeType(String, StringBuilder, UInt32)
public uint GetApplicationsThatSupportMimeType(string pchMimeType, StringBuilder pchAppKeysThatSupportBuffer, uint unAppKeysThatSupportBuffer)
Parameters
Type |
Name |
Description |
System.String |
pchMimeType |
|
System.Text.StringBuilder |
pchAppKeysThatSupportBuffer |
|
System.UInt32 |
unAppKeysThatSupportBuffer |
|
Returns
Type |
Description |
System.UInt32 |
|
GetApplicationSupportedMimeTypes(String, StringBuilder, UInt32)
public bool GetApplicationSupportedMimeTypes(string pchAppKey, StringBuilder pchMimeTypesBuffer, uint unMimeTypesBuffer)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
System.Text.StringBuilder |
pchMimeTypesBuffer |
|
System.UInt32 |
unMimeTypesBuffer |
|
Returns
Type |
Description |
System.Boolean |
|
GetCurrentSceneProcessId()
public uint GetCurrentSceneProcessId()
Returns
Type |
Description |
System.UInt32 |
|
GetDefaultApplicationForMimeType(String, StringBuilder, UInt32)
public bool GetDefaultApplicationForMimeType(string pchMimeType, StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
Type |
Name |
Description |
System.String |
pchMimeType |
|
System.Text.StringBuilder |
pchAppKeyBuffer |
|
System.UInt32 |
unAppKeyBufferLen |
|
Returns
Type |
Description |
System.Boolean |
|
GetSceneApplicationState()
public EVRSceneApplicationState GetSceneApplicationState()
Returns
public string GetSceneApplicationStateNameFromEnum(EVRSceneApplicationState state)
Parameters
Returns
Type |
Description |
System.String |
|
GetStartingApplication(StringBuilder, UInt32)
public EVRApplicationError GetStartingApplication(StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
pchAppKeyBuffer |
|
System.UInt32 |
unAppKeyBufferLen |
|
Returns
IdentifyApplication(UInt32, String)
public EVRApplicationError IdentifyApplication(uint unProcessId, string pchAppKey)
Parameters
Type |
Name |
Description |
System.UInt32 |
unProcessId |
|
System.String |
pchAppKey |
|
Returns
IsApplicationInstalled(String)
public bool IsApplicationInstalled(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
Type |
Description |
System.Boolean |
|
LaunchApplication(String)
public EVRApplicationError LaunchApplication(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
LaunchApplicationFromMimeType(String, String)
public EVRApplicationError LaunchApplicationFromMimeType(string pchMimeType, string pchArgs)
Parameters
Type |
Name |
Description |
System.String |
pchMimeType |
|
System.String |
pchArgs |
|
Returns
LaunchDashboardOverlay(String)
public EVRApplicationError LaunchDashboardOverlay(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
LaunchInternalProcess(String, String, String)
public EVRApplicationError LaunchInternalProcess(string pchBinaryPath, string pchArguments, string pchWorkingDirectory)
Parameters
Type |
Name |
Description |
System.String |
pchBinaryPath |
|
System.String |
pchArguments |
|
System.String |
pchWorkingDirectory |
|
Returns
LaunchTemplateApplication(String, String, AppOverrideKeys_t[])
public EVRApplicationError LaunchTemplateApplication(string pchTemplateAppKey, string pchNewAppKey, AppOverrideKeys_t[] pKeys)
Parameters
Type |
Name |
Description |
System.String |
pchTemplateAppKey |
|
System.String |
pchNewAppKey |
|
AppOverrideKeys_t[] |
pKeys |
|
Returns
public EVRApplicationError PerformApplicationPrelaunchCheck(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
RemoveApplicationManifest(String)
public EVRApplicationError RemoveApplicationManifest(string pchApplicationManifestFullPath)
Parameters
Type |
Name |
Description |
System.String |
pchApplicationManifestFullPath |
|
Returns
SetApplicationAutoLaunch(String, Boolean)
public EVRApplicationError SetApplicationAutoLaunch(string pchAppKey, bool bAutoLaunch)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
System.Boolean |
bAutoLaunch |
|
Returns
public EVRApplicationError SetDefaultApplicationForMimeType(string pchAppKey, string pchMimeType)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
System.String |
pchMimeType |
|
Returns
Extension Methods