Edit

Share via


AchievementService Class

Definition

Represents an endpoint that you can use to access the Achievement service.

[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class AchievementService
type AchievementService = class
    interface __IAchievementServicePublicNonVirtuals
Public NotInheritable Class AchievementService
Inheritance
AchievementService
Attributes
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute

Methods

GetAchievementAsync(String, String, String)

Returns a specific Achievement object for a specified player.

GetAchievementsForTitleIdAsync(String, UInt32, AchievementType, Boolean, AchievementOrderBy, UInt32, UInt32)

Returns an AchievementsResult object containing the first page of achievements for a player of the specified title.

UpdateAchievementAsync(String, String, UInt32)

Allow achievement progress to be updated and achievements to be unlocked. This API will work even when offline. On PC and Xbox One, updates will be posted by the system when connection is re-established even if the title isn't running.

UpdateAchievementAsync(String, UInt32, String, String, UInt32)

Allow achievement progress to be updated and achievements to be unlocked. This API will work even when offline. On PC and Xbox One, updates will be posted by the system when connection is re-established even if the title isn't running.

Applies to