XblSocialManagerPresenceRecordIsUserPlayingTitle

Query whether the user associated with the provided presence record is playing a given title id.

Syntax

bool XblSocialManagerPresenceRecordIsUserPlayingTitle(  
         const XblSocialManagerPresenceRecord* presenceRecord,  
         uint32_t titleId  
)  

Parameters

presenceRecord   _In_
Type: XblSocialManagerPresenceRecord*

A presence record returned from another social manager API.

titleId   _In_
Type: uint32_t

Title ID to query about.

Return value

Type: bool

True if the user is playing the title and false otherwise.

Requirements

Header: social_manager_c.h

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

See also

social_manager_c