XblPresenceUnsubscribeFromTitlePresenceChange

Unsubscribes a previously created title presence change subscription. DEPRECATED. This API will be removed in a future release. Individual RTA subscription will be managed automatically by XSAPI as titles are untracked with XblPresenceStopTrackingAdditionalTitles.

Syntax

HRESULT XblPresenceUnsubscribeFromTitlePresenceChange(  
         XblContextHandle xblContextHandle,  
         XblRealTimeActivitySubscriptionHandle subscriptionHandle  
)  

Parameters

xblContextHandle   _In_
Type: XblContextHandle

Xbox live context for the local user.

subscriptionHandle   _In_
Type: XblRealTimeActivitySubscriptionHandle

Handle for the subscription created with XblPresenceSubscribeToTitlePresenceChange. This will cause the underlying object to be cleaned up,and will invalidate the subscription handle.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: presence_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

presence_c