Implements
Constructors
new ParentalControlsPreferenceReaderTmGlue()
new ParentalControlsPreferenceReaderTmGlue():ParentalControlsPreferenceReaderTmGlue
Returns
ParentalControlsPreferenceReaderTmGlue
Methods
getContentRestrictionLevel()
getContentRestrictionLevel():Promise<IContentRestrictionLevel>
Gets the most restrictive restriction level that is currently blocked
for the device.
Returns the user’s device-local preference of what media content playback
on this device should be gated by a PIN challenge.
Returns
Promise<IContentRestrictionLevel>
Note
whenisEnabled() == false, content restrictions will not be
actively enforced by Parental Controls.
Implementation of
IParentalControlsPreferenceReaderV2.getContentRestrictionLevel
getPinProtectAppLaunchPreference()
getPinProtectAppLaunchPreference():Promise<boolean>
Experimental
available in com.amazon.kepler.parental_controls_experimental_beta2_20240214
Returns
Promise<boolean>
Implementation of
IParentalControlsPreferenceReaderV2.getPinProtectAppLaunchPreference
getPinProtectProfileSwitchPreference()
getPinProtectProfileSwitchPreference():Promise<boolean>
Experimental
available in com.amazon.kepler.parental_controls_experimental_beta2_20240214
Returns
Promise<boolean>
Implementation of
IParentalControlsPreferenceReaderV2.getPinProtectProfileSwitchPreference
getPinProtectPurchasePreference()
getPinProtectPurchasePreference():Promise<boolean>
Experimental
available in com.amazon.kepler.parental_controls_experimental_beta2_20240214
Returns
Promise<boolean>
Implementation of
IParentalControlsPreferenceReaderV2.getPinProtectPurchasePreference
isEnabled()
isEnabled():Promise<boolean>
Returns the device-local state for whether parental controls is enabled.
Parental controls must be enabled for any of the sub-features (such as
PIN-protecting app launches or purchases) to take effect.
Returns
Promise<boolean>
true if parental controls is enabled for the device else
false.
Implementation of
IParentalControlsPreferenceReaderV2.isEnabled

