GameBarServicesCommandEventArgs GameBarServicesCommandEventArgs GameBarServicesCommandEventArgs GameBarServicesCommandEventArgs Class

Definition

Provides data for the GameBarServices.CommandReceived event.

public : sealed class GameBarServicesCommandEventArgs : IGameBarServicesCommandEventArgspublic sealed class GameBarServicesCommandEventArgs : IGameBarServicesCommandEventArgsPublic NotInheritable Class GameBarServicesCommandEventArgs Implements IGameBarServicesCommandEventArgs// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.15063.0)
API contract
Windows.Media.Capture.GameBarContract (introduced v1)
Capabilities
gameBarServices

Properties

Command Command Command Command

Gets a value specifying the Game Bar command associated with the event.

public : GameBarCommand Command { get; }public GameBarCommand Command { get; }Public ReadOnly Property Command As GameBarCommand// You can use this property in JavaScript.
Value
GameBarCommand GameBarCommand GameBarCommand GameBarCommand

A value specifying the Game Bar command associated with the event.

Additional features and requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.15063.0)
API contract
Windows.Media.Capture.GameBarContract (introduced v1)
Capabilities
gameBarServices

Origin Origin Origin Origin

Gets a value specifying the origin of the Game Bar command.

public : GameBarCommandOrigin Origin { get; }public GameBarCommandOrigin Origin { get; }Public ReadOnly Property Origin As GameBarCommandOrigin// You can use this property in JavaScript.
Value
GameBarCommandOrigin GameBarCommandOrigin GameBarCommandOrigin GameBarCommandOrigin

A value specifying the origin of the Game Bar command.

Additional features and requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.15063.0)
API contract
Windows.Media.Capture.GameBarContract (introduced v1)
Capabilities
gameBarServices