Restriction levels passed to RatedContentRestrictions.GetRestrictionLevelAsync Method.
public enum class ContentAccessRestrictionLevel
| Member | Value | Description |
|---|---|---|
| Allow | 0 | The RatedContentRestrictions.RequestContentAccessAsync Method allows this content. |
| Warn | 1 | Not used. |
| Block | 2 | RequestContentAccessAsync returns false if called with this content. |
| Hide | 3 | The content’s rating is higher than the maximum browsable age rating and should not be displayed in the content catalog. Apps can choose to either manually filter the catalog by querying RequestContentAccessAsync, or can call this method for each piece of content in the catalog. |
Namespace: Windows.Media.ContentRestrictions
Metadata: windows.winmd