RatedContentDescription.Ratings | ratings property

Applies to Windows only

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

Syntax


var ratings = ratedContentDescription.ratings;
ratedContentDescription.ratings = ratings;

Property value

Type: IVector<String> [JavaScript/C++] | System.Collections.Generic.IList<String> [.NET]

Specifies the age rating, for a piece of content.

Remarks

If a piece of content doesn’t have neither a third-party rating nor a Store age rating, the app must pass NULL as the rating. If NULL rating is provided, the RequestContentAccessAsync method will display a Content blocked by Family Safety dialog, with options to request a parental override.

Family Safety uses the ContentRestrictionBrowsePolicy.GeographicRegion and RatedContentDescription.Category properties, to determine the appropriate rating system for a piece of content. If Ratings contain a rating value in this rating system, then it’s used as the content rating. If Ratings don’t contain value in this rating system, the Store age rating value is used. If it’s not available, the content is considered Not rated, for the Family Safety content settings region, and RequestContentAccessAsync method will display a Content blocked by Family Safety dialog, with options to request a parental override. For more info, see Using content ratings.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

RatedContentDescription
Using content ratings
Store age ratings

 

 

Show:
© 2014 Microsoft