XblPresenceUnsubscribeFromDevicePresenceChange
Unsubscribes a previously created device presence change subscription. DEPRECATED. This API continues to work, however it will be removed in a future release. Individual RTA subscription will be managed automatically by XSAPI as users are untracked with XblPresenceStopTrackingUsers.
Syntax
HRESULT XblPresenceUnsubscribeFromDevicePresenceChange(
XblContextHandle xblContextHandle,
XblRealTimeActivitySubscriptionHandle subscriptionHandle
)
Parameters
xblContextHandle _In_
Type: XblContextHandle
Xbox live context for the local user.
subscriptionHandle _In_
Type: XblRealTimeActivitySubscriptionHandle
The RTA subscription handle created with XblPresenceSubscribeToDevicePresenceChange. 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.14x.GDK.C.lib