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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin