isEnabled() == false
, content restrictions are not actively enforced by Parental Controls.
All parental controls preferences are device-local.
Extends
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.
Inherited from
IParentalControlsPreferenceReader.getContentRestrictionLevel
getPinProtectAppLaunchPreference()
getPinProtectAppLaunchPreference():Promise<boolean>
Returns the device-local state for whether PIN Protect App Launch is enabled
as a Parental Controls preference. Parental Controls must be enabled for this sub-feature
to take effect.
Returns
Promise<boolean>
true if PIN Protect App Launch is enabled for the device, else
false.
getPinProtectProfileSwitchPreference()
getPinProtectProfileSwitchPreference():Promise<boolean>
Returns the device-local state for whether PIN Protect Profile Switch is enabled
as a Parental Controls preference. Parental Controls must be enabled for this sub-feature
to take effect.
Returns
Promise<boolean>
true if PIN Protect Profile Switch is enabled for the device, else
false.
getPinProtectPurchasePreference()
getPinProtectPurchasePreference():Promise<boolean>
Returns the device-local state for whether PIN Protect Purchase is enabled
as a Parental Controls preference. Parental Controls must be enabled for this sub-feature
to take effect.
Returns
Promise<boolean>
true if PIN Protect Purchase is enabled for the device, else
false.
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.
Inherited from
IParentalControlsPreferenceReader.isEnabled

