ContentAccessRestrictionLevel
ContentAccessRestrictionLevel
ContentAccessRestrictionLevel
ContentAccessRestrictionLevel
Enum
Definition
Specifies how the content is treated, based on the user's content settings.
public : enum class ContentAccessRestrictionLevelpublic enum ContentAccessRestrictionLevelPublic Enum ContentAccessRestrictionLevel// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Allow Allow Allow Allow | Can be shown in the content catalog and consumed. |
| Block Block Block Block | Can be shown in the content catalog, but will be blocked by RequestContentAccessAsync. |
| Hide Hide Hide Hide | Can't be shown in the content catalog. It's rating is higher than the user's settings, determined by MaxBrowsableAgeRating. |
| Warn Warn Warn Warn | (Xbox only) If multiple users are logged in and the content is blocked for at least one user, content is allowed with a warning displayed. |