GameBarCommand Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for