Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
This object can be used to keep Game Bar running in the background to support long-running widget background tasks for relevant active user scenarios, such as supporting a voice chat session that can span multiple hours when both Game Bar and the widget are dismissed off screen.
Constructor
XboxGameBarWidgetActivity(XboxGameBarWidget widget, String activityId);
Constructs a new activity associated with this widget.
Throws if provided activityId already exists for this widget.
Properties
String Id
Gets the current activityId.
Methods
void Complete()
Explicitly stops the current activity (note: this happens automatically when the object falls out of scope).