Skip to main content

XblPresenceSetPresenceAsync

Sets presence info for the current user context.

Syntax

Parameters

xblContextHandle   _In_
Type: XblContextHandle
XBOX live context for the local user. isUserActiveInTitle   _In_
Type: bool
Indicates if the current user context is currently active or inactive in the title. The application can choose to set this based on an amount of inactivity. richPresenceIds   _In_opt_
Type: XblPresenceRichPresenceIds*
Optional pointer to struct which controls the rich presence strings. async   _In_
Type: XAsyncBlock*
The AsyncBlock for this operation.

Return value

Type: HRESULT HRESULT return code for this API operation.

Requirements

Header: presence_c.h Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

presence_c
Last modified on August 20, 2026