Windows Dev Center

RatedContentDescription class

Contains information about a piece of content. An app creates a RatedContentDescription object, for each piece of content to be used in the GetRestrictionLevelAsync and RequestContentAccessAsync methods.

Syntax


var ratedContentDescription = new Windows.Media.ContentRestrictions.RatedContentDescription();

Members

The RatedContentDescription class has these types of members:

Constructors

The RatedContentDescription class has these constructors.

ConstructorDescription
RatedContentDescription Initializes a new instance of the RatedContentDescription class.

 

Methods

The RatedContentDescription class inherits methods from the Object class (C#/VB/C++).

Properties

The RatedContentDescription class has these properties.

PropertyAccess typeDescription

Category

Read/writeSpecifies the type of a piece of content, defined by RatedContentCategory.

Id

Read/writeThe unique content ID of a piece of content, in the app's content catalog.

Image

Read/writeThe thumbnail image associated with the content.

Ratings

Read/writeProvides all existing third-party and Windows Store age ratings for a piece of content.

Title

Read/writeThe display title of a piece of content.

 

Remarks

If a piece of content doesn't have a 3rd-party rating, nor a Store age rating, the app must pass NULL as the rating.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.ContentRestrictions
Windows::Media::ContentRestrictions [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

None supported

Minimum supported phone

None supported

Namespace

Windows.Media.ContentRestrictions
Windows::Media::ContentRestrictions [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

See also

Object

 

 

Show:
© 2015 Microsoft