Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IContentRestrictionLevel

interface IContentRestrictionLevel
Extends com.amazon.apmf.IStandard 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.

Methods

getName()

string getName()
Get the reverse DNS global name used to identify this restriction level. Applicable restriction levels vary by region.

Returns

string the string representation of the content restriction level name

getAllowedContentRatings()

com.amazon.kepler.media.content_metadata.IContentRating*[] getAllowedContentRatings()
Gets the list of content ratings that are the upper bound of what is permissible for viewing without a PIN challenge when parental controls is configured at this restriction level. It is implied that content with less restrictive ratings in the same ratings system is also permissible.

Returns

com.amazon.kepler.media.content_metadata.IContentRating*[] an unsorted array of content ratings
Last modified on October 29, 2026