Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

Windows.Media.ContentRestrictions namespace

Applies to Windows only

Provides classes that define Family Safety settings for a Windows user.

Content provider apps have content that may be inappropriate for young children. The Family Safety Content API allows these apps to discover Family Safety settings for a Windows user, and creates safe and appropriate experiences for children.

Content restriction settings are divided into two categories–content browsing and content consumption. The content browsing age settings control, which content is presented to a user in an app’s content catalog (e.g. Windows Store’s app list, a movie app’s movie/TV list). This shields children from content with unsafe thumbnail pictures or descriptions, like adult movies.

Content consumption settings define whether a specific piece of content can be consumed (e.g. whether an app can be installed, or a movie can be watched). If content is blocked for consumption, the child is given an option to ask for a parental override.

Apps specify the minimum level of Family Safety content restrictions to be enforced, for both browsing and consumption of content for user's interactions with the app.


The Windows.Media.ContentRestrictions namespace has these types of members:


The Windows.Media.ContentRestrictions namespace has these classes.

ContentRestrictionsBrowsePolicy Contains information used to filter an app's content catalog.
RatedContentDescription 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.
RatedContentRestrictions Contains all behavior and functionality related to a user's Family Safety content settings.



The Windows.Media.ContentRestrictions namespace has these enumerations.

ContentAccessRestrictionLevel Specifies how the content is treated, based on the user's content settings.
RatedContentCategory Specifies the type of a piece of content.



Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

None supported


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





© 2014 Microsoft