GameBarCommand Enum

Definition

Specifies the set of Game Bar commands.

public enum class GameBarCommand
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.GameBarContract, 65536)]
enum class 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 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

Name Value Description
OpenGameBar 0

Open the Game Bar.

RecordHistoricalBuffer 1

Record the historical buffer.

ToggleStartStopRecord 2

Toggle start/stop record.

StartRecord 3

Start recording.

StopRecord 4

Stop recording.

TakeScreenshot 5

Take a screenshot.

StartBroadcast 6

Start broadcasting.

StopBroadcast 7

Stop broadcasting.

PauseBroadcast 8

Pause broadcasting.

ResumeBroadcast 9

Resume broadcasting.

ToggleStartStopBroadcast 10

Toggle start/stop broadcast.

ToggleMicrophoneCapture 11

Toggle microphone capture.

ToggleCameraCapture 12

Toggle camera capture.

ToggleRecordingIndicator 13

Toggle the recording indicator.

Applies to