Class CVRApplications
Inheritance
System.Object
CVRApplications
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Assembly-CSharp.dll
Syntax
public class CVRApplications
Methods
AddApplicationManifest(String, Boolean)
Declaration
public EVRApplicationError AddApplicationManifest(string pchApplicationManifestFullPath, bool bTemporary)
Parameters
Type |
Name |
Description |
System.String |
pchApplicationManifestFullPath |
|
System.Boolean |
bTemporary |
|
Returns
CancelApplicationLaunch(String)
Declaration
public bool CancelApplicationLaunch(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
Type |
Description |
System.Boolean |
|
GetApplicationAutoLaunch(String)
Declaration
public bool GetApplicationAutoLaunch(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
Type |
Description |
System.Boolean |
|
GetApplicationCount()
Declaration
public uint GetApplicationCount()
Returns
Type |
Description |
System.UInt32 |
|
GetApplicationKeyByIndex(UInt32, StringBuilder, UInt32)
Declaration
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)
Declaration
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)
Declaration
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)
Declaration
public uint GetApplicationProcessId(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
Type |
Description |
System.UInt32 |
|
GetApplicationPropertyBool(String, EVRApplicationProperty, ref EVRApplicationError)
Declaration
public bool GetApplicationPropertyBool(string pchAppKey, EVRApplicationProperty eProperty, ref EVRApplicationError peError)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetApplicationPropertyString(String, EVRApplicationProperty, StringBuilder, UInt32, ref EVRApplicationError)
Declaration
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)
Declaration
public ulong GetApplicationPropertyUint64(string pchAppKey, EVRApplicationProperty eProperty, ref EVRApplicationError peError)
Parameters
Returns
Type |
Description |
System.UInt64 |
|
Declaration
public string GetApplicationsErrorNameFromEnum(EVRApplicationError error)
Parameters
Returns
Type |
Description |
System.String |
|
GetApplicationsThatSupportMimeType(String, StringBuilder, UInt32)
Declaration
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 |
|
Declaration
public string GetApplicationsTransitionStateNameFromEnum(EVRApplicationTransitionState state)
Parameters
Returns
Type |
Description |
System.String |
|
GetApplicationSupportedMimeTypes(String, StringBuilder, UInt32)
Declaration
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()
Declaration
public uint GetCurrentSceneProcessId()
Returns
Type |
Description |
System.UInt32 |
|
GetDefaultApplicationForMimeType(String, StringBuilder, UInt32)
Declaration
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 |
|
GetStartingApplication(StringBuilder, UInt32)
Declaration
public EVRApplicationError GetStartingApplication(StringBuilder pchAppKeyBuffer, uint unAppKeyBufferLen)
Parameters
Type |
Name |
Description |
System.Text.StringBuilder |
pchAppKeyBuffer |
|
System.UInt32 |
unAppKeyBufferLen |
|
Returns
GetTransitionState()
Declaration
public EVRApplicationTransitionState GetTransitionState()
Returns
IdentifyApplication(UInt32, String)
Declaration
public EVRApplicationError IdentifyApplication(uint unProcessId, string pchAppKey)
Parameters
Type |
Name |
Description |
System.UInt32 |
unProcessId |
|
System.String |
pchAppKey |
|
Returns
IsApplicationInstalled(String)
Declaration
public bool IsApplicationInstalled(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
Type |
Description |
System.Boolean |
|
IsQuitUserPromptRequested()
Declaration
public bool IsQuitUserPromptRequested()
Returns
Type |
Description |
System.Boolean |
|
LaunchApplication(String)
Declaration
public EVRApplicationError LaunchApplication(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
LaunchApplicationFromMimeType(String, String)
Declaration
public EVRApplicationError LaunchApplicationFromMimeType(string pchMimeType, string pchArgs)
Parameters
Type |
Name |
Description |
System.String |
pchMimeType |
|
System.String |
pchArgs |
|
Returns
LaunchDashboardOverlay(String)
Declaration
public EVRApplicationError LaunchDashboardOverlay(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
LaunchInternalProcess(String, String, String)
Declaration
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[])
Declaration
public EVRApplicationError LaunchTemplateApplication(string pchTemplateAppKey, string pchNewAppKey, AppOverrideKeys_t[] pKeys)
Parameters
Type |
Name |
Description |
System.String |
pchTemplateAppKey |
|
System.String |
pchNewAppKey |
|
AppOverrideKeys_t[] |
pKeys |
|
Returns
Declaration
public EVRApplicationError PerformApplicationPrelaunchCheck(string pchAppKey)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
Returns
RemoveApplicationManifest(String)
Declaration
public EVRApplicationError RemoveApplicationManifest(string pchApplicationManifestFullPath)
Parameters
Type |
Name |
Description |
System.String |
pchApplicationManifestFullPath |
|
Returns
SetApplicationAutoLaunch(String, Boolean)
Declaration
public EVRApplicationError SetApplicationAutoLaunch(string pchAppKey, bool bAutoLaunch)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
System.Boolean |
bAutoLaunch |
|
Returns
Declaration
public EVRApplicationError SetDefaultApplicationForMimeType(string pchAppKey, string pchMimeType)
Parameters
Type |
Name |
Description |
System.String |
pchAppKey |
|
System.String |
pchMimeType |
|
Returns