Edit

Share via


Club.SetPresenceWithinClubAsync(ClubUserPresence) Method

Definition

Sets the user's presence within the club. This keeps track of which club page, if any, the user is currently viewing.

public Windows.Foundation.IAsyncAction SetPresenceWithinClubAsync (Microsoft.Xbox.Services.Clubs.ClubUserPresence presence);
abstract member SetPresenceWithinClubAsync : Microsoft.Xbox.Services.Clubs.ClubUserPresence -> Windows.Foundation.IAsyncAction
override this.SetPresenceWithinClubAsync : Microsoft.Xbox.Services.Clubs.ClubUserPresence -> Windows.Foundation.IAsyncAction
Public Function SetPresenceWithinClubAsync (presence As ClubUserPresence) As IAsyncAction

Parameters

presence
ClubUserPresence

The current presence state of the user

Returns

Windows.Foundation.IAsyncAction

Implements

Microsoft.Xbox.Services.Clubs.__IClubPublicNonVirtuals.SetPresenceWithinClubAsync(Microsoft.Xbox.Services.Clubs.ClubUserPresence)

Remarks

Calls V1 POST clubpresence.xboxlive.com/clubs/{clubId}/users/{userId}

Applies to