GameBarCommandOrigin 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 origin of a Game Bar command.
public enum class GameBarCommandOrigin
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.GameBarContract, 65536)]
enum class GameBarCommandOrigin
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.GameBarContract), 65536)]
public enum GameBarCommandOrigin
var value = Windows.Media.Capture.GameBarCommandOrigin.shortcutKey
Public Enum GameBarCommandOrigin
- Inheritance
-
GameBarCommandOrigin
- 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 |
---|---|---|
ShortcutKey | 0 | The Game Bar command originated from a shortcut key. |
Cortana | 1 | The Game Bar command originated from Cortana. |
AppCommand | 2 | The Game Bar command originated from an app-initiated command. |