Edit

Share via


PresenceService.GetPresenceAsync(String) Method

Definition

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})

Applies to