Club.SetPresenceWithinClubAsync(ClubUserPresence) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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}