Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
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).