IContentRestrictionLevel
Represents the concept of Parental Controls' content restriction level preference, a set of ratings for which content with a rating that is equally or less restrictive may be played without a PIN challenge. Restriction levels are defined per region. Information about restriction levels, including their names and allowed ratings, should always be queried (not assumed or hardcoded).
Properties
allowedContentRatings
readonly
allowedContentRatings:IContentRating
[]
Gets the list of content ratings that are the upper bound of what is permissible for viewing without a PIN challenge when this restriction level is not blocked. It is implied that content with less restrictive ratings in the same ratings system is also permissible.
Returns
an unsorted array of content ratings
See
getContentRestrictionLevel for the most restrictive restriction level that is currently blocked for the device.
name
readonly
name:string
Get the name used to identify this restriction level.
Restriction level name
s are non-localized identifiers that are
unique within a region.
Last updated: Sep 30, 2025