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.
Immediately writes any pending recent-players updates to Xbox Live.
Syntax
HRESULT XblMultiplayerActivityFlushRecentPlayersAsync(
XblContextHandle xblContext,
XAsyncBlock* async
)
Parameters
xblContext _In_
Type: XblContextHandle
Xbox Live context for the local user.
async _In_
Type: XAsyncBlock*
The XAsyncBlock for this operation.
Return value
Type: HRESULT
HRESULT return code for this API operation.
Remarks
Calling this API is optional; updates are periodically uploaded from a background task queue.
When this API is used, the upload happens on the task queue supplied in this call.
To get the result of the asynchronous operation, call XAsyncGetStatus inside the XAsyncBlock callback or after XAsyncBlock is complete.
To see how this enumeration is used, see the Recent players section of Example code for Multiplayer Activity.
REST Call
Calls POST /titles/{titleId}/recentplayers
Requirements
Header: multiplayer_activity_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib