XblSocialRelationship
Represents the relationship between the user and another Xbox user.
Syntax
typedef struct XblSocialRelationship {
uint64_t xboxUserId;
bool isFavorite;
bool isFollowingCaller;
const char** socialNetworks;
size_t socialNetworksCount;
} XblSocialRelationship
Members
xboxUserId
Type: uint64_t
The person's Xbox user identifier.
isFavorite
Type: bool
Indicates whether the person is one that the user cares about more. Since users can have a very large number of people in their people list, favorite people should be prioritized first in experiences and shown before others that are not favorites.
isFollowingCaller
Type: bool
Indicates whether the person is following the person that requested the information.
socialNetworks
Type: const char**
A UTF-8 encoded collection of strings indicating which social networks this person has a relationship with.
socialNetworksCount
Type: size_t
The count of social networks strings in the socialNetworks array.
Argument of
XblSocialRelationshipResultGetRelationships
Requirements
Header: social_c.h