Edit

Share via


AchievementReward Class

Definition

Represents a reward that is associated with the achievement.

[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 AchievementReward
type AchievementReward = class
    interface __IAchievementRewardPublicNonVirtuals
Public NotInheritable Class AchievementReward
Inheritance
AchievementReward
Attributes
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute

Properties

Data

The title-defined reward value (data type and content varies by reward type).

Description

The description of the reward.

MediaAsset

The media asset associated with the reward. If the RewardType is Gamerscore, this will be nullptr. If the RewardType is InApp, this will be a media asset. If the RewardType is Art, this may be a media asset or nullptr.

Name

The localized reward name.

RewardType

The reward type.

ValuePropertyType

The property type of the reward value string.

Applies to