Edit

Share via


AchievementsResult.GetNextAsync(UInt32) Method

Definition

Returns an AchievementsResult object that contains the next page of achievements.

public Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Achievements.AchievementsResult> GetNextAsync (uint maxItems);
abstract member GetNextAsync : uint32 -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Achievements.AchievementsResult>
override this.GetNextAsync : uint32 -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.Achievements.AchievementsResult>
Public Function GetNextAsync (maxItems As UInteger) As IAsyncOperation(Of AchievementsResult)

Parameters

maxItems
UInt32

The maximum number of items that the result can contain. Pass 0 to attempt to retrieve all items.

Returns

Windows.Foundation.IAsyncOperation<AchievementsResult>

An AchievementsResult object that contains a list of Achievement objects.

Implements

Microsoft.Xbox.Services.Achievements.__IAchievementsResultPublicNonVirtuals.GetNextAsync(System.UInt32)

Remarks

Returns an IAsyncOperation<TResult> object that represents the state of the asynchronous operation. Completion of the asynchronous operation is signaled by using a handler that is passed to the IAsyncOperation<TResult>.Completed property. When the asynchronous operation is complete, the result of the operation can be retrieved by using the IAsyncOperation<TResult>.GetResults method.

This method calls V2 GET /users/xuid({xuid})/achievements.

Applies to