XboxGameBarWidgetActivatedEventArgs

Properties

String AppExtensionId

Returns the App Extension Id that this object represents. This is the Id from the <AppExtension> element in the app's package manifest.

String IsLaunchActivation

Returns if Game Bar is activating your widget for the first time (for that instance).

  • If true you need to construct your XboxGameBarWidget object and hold onto it in your Application instance.
  • If false, it means you're getting a repeat activation, which means you can just observe the URI and act accordingly. You should NOT construct a new XboxGameBarWidget object.

Other

XboxGameBarWidgetActivatedEventArgs inherits from IActivatedEventArgs, IActivatedEventArgsWithUser, IPrelaunchActivatedEventArgs, and IProtocolActivatedEventArgs, so all properties available on those interfaces are available to this class.

Methods

None