PresenceService.GetPresenceAsync(String) 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.
Gets presence info for a specific Xbox User Id.
public Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Presence.PresenceRecord> GetPresenceAsync (string xboxUserId);
abstract member GetPresenceAsync : string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Presence.PresenceRecord>
override this.GetPresenceAsync : string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Presence.PresenceRecord>
Public Function GetPresenceAsync (xboxUserId As String) As IAsyncOperation(Of PresenceRecord)
Parameters
- xboxUserId
- String
The Xbox User ID of the user to get presence for
Returns
Windows.Foundation.IAsyncOperation<PresenceRecord>
Implements
Microsoft.Xbox.Services.Presence.__IPresenceServicePublicNonVirtuals.GetPresenceAsync(System.String)
Remarks
Calls V3 GET /users/xuid({xuid})