Skip to main content
Configures the list of titles for which real-time title presence will be tracked. To receive title presence updates for titles other than the current title, they must be added using this API.

Syntax

Parameters

xblContextHandle   _In_
Type: XblContextHandle
XBOX services context for the local user. titleIds   _In_
Type: uint32_t*
Array of title IDs to append to the existing list of tracked titles. Note that the current title will be tracked by default. titleIdsCount   _In_
Type: size_t
Length of the titleIds array.

Return value

Type: HRESULT Returns S_OK on success, or an error code on failure. Possible error codes include the following. This list isn’t exhaustive.

Remarks

Updates will be delivered via XblPresenceTitlePresenceChangedHandlers. Note that the set of tracked titles can be updated independent from the handlers. Title Presence updates are received only for users that you track with XblPresenceTrackUsers. Register a handler with XblPresenceAddTitlePresenceChangedHandler before you track users and titles. XSAPI creates and removes the Real-Time Activity (RTA) subscriptions. Tracking is reference counted. Call XblPresenceStopTrackingAdditionalTitles once for each successful call to this function for the same title. Together with XblPresenceTrackUsers, this function replaces the deprecated XblPresenceSubscribeToTitlePresenceChange function.

Requirements

Header: presence_c.h Library: Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

See also

presence_c
XblPresenceStopTrackingAdditionalTitles
Handling a title Presence change
Last modified on October 29, 2026