as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

ParentalControlsPreferenceReaderTmGlue

A module-private implementation of IParentalControlsComponent that invokes the TM. Factory-constructed by ParentalControlsComponent.

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

when isEnabled() == 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


Last updated: Sep 30, 2025