GameBarCommand Enum
Definition
Specifies the set of Game Bar commands.
public enum class GameBarCommand
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.GameBarContract, 65536)]
enum GameBarCommand
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.GameBarContract), 65536)]
public enum GameBarCommand
var value = Windows.Media.Capture.GameBarCommand.openGameBar
Public Enum GameBarCommand
- Inheritance
-
GameBarCommand
- Attributes
Windows 10 requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
|
API contract |
Windows.Media.Capture.GameBarContract (introduced in v1.0)
|
App capabilities |
gameBarServices
|
Fields
OpenGameBar | 0 | Open the Game Bar. |
PauseBroadcast | 8 | Pause broadcasting. |
RecordHistoricalBuffer | 1 | Record the historical buffer. |
ResumeBroadcast | 9 | Resume broadcasting. |
StartBroadcast | 6 | Start broadcasting. |
StartRecord | 3 | Start recording. |
StopBroadcast | 7 | Stop broadcasting. |
StopRecord | 4 | Stop recording. |
TakeScreenshot | 5 | Take a screenshot. |
ToggleCameraCapture | 12 | Toggle camera capture. |
ToggleMicrophoneCapture | 11 | Toggle microphone capture. |
ToggleRecordingIndicator | 13 | Toggle the recording indicator. |
ToggleStartStopBroadcast | 10 | Toggle start/stop broadcast. |
ToggleStartStopRecord | 2 | Toggle start/stop record. |