Compartir a través de


XblSocialUnsubscribeFromSocialRelationshipChange

Un-subscribes a previously created social relationship change subscription. DEPRECATED. Calling this API is no longer required and it will be removed in a future release. RTA subscription will be managed automatically by XSAPI as XblSocialRelationshipChangedHandler are added and removed.

Syntax

HRESULT XblSocialUnsubscribeFromSocialRelationshipChange(  
         XblContextHandle xboxLiveContext,  
         XblRealTimeActivitySubscriptionHandle subscriptionHandle  
)  

Parameters

xboxLiveContext   _In_
Type: XblContextHandle

An xbox live context handle created with XblContextCreateHandle.

subscriptionHandle   _In_
Type: XblRealTimeActivitySubscriptionHandle

The subscription handle to unsubscribe.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

Call this API only if XblSocialSubscribeToSocialRelationshipChange was used to subscribe to social relationship changes.

Requirements

Header: social_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

social_c