Skip to main content

XblPresenceAddTitlePresenceChangedHandler

Registers an event handler for title presence change notifications. Notifications will only be received for the Users and Titles configured with XblPresenceTrackUsers and XblPresenceTrackAdditionalTitles respectively.

Syntax

Parameters

xblContextHandle   _In_
Type: XblContextHandle
XBOX live context for the local user. handler   _In_
Type: XblPresenceTitlePresenceChangedHandler*
The callback function that receives notifications. context   _In_opt_
Type: void*
Caller context that will be passed back to the handler.

Return value

Type: XblFunctionContext An XblFunctionContext object that can be used to unregister the event handler.

Requirements

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

See also

presence_c
Last modified on August 20, 2026