ParentalControlsPreferenceReaderTmGlue
TMを呼び出すIParentalControlsComponentのモジュールプライベート実装です。ParentalControlsComponentによってファクトリー生成されます。
実装
コンストラクタ
new ParentalControlsPreferenceReaderTmGlue()
new ParentalControlsPreferenceReaderTmGlue():
ParentalControlsPreferenceReaderTmGlue
戻り値
ParentalControlsPreferenceReaderTmGlue
メソッド
getContentRestrictionLevel()
getContentRestrictionLevel():
Promise<IContentRestrictionLevel>
デバイスに現在適用されている最も厳しい制限レベルを取得します。
このデバイスでどのメディアコンテンツにPIN入力による再生制限を適用するかに関する、ユーザーのデバイス固有の設定を返します。
戻り値
Promise<IContentRestrictionLevel>
注記
isEnabled() == falseの場合、ペアレンタルコントロールのコンテンツ制限は適用されません。
実装元
IParentalControlsPreferenceReaderV2.getContentRestrictionLevel
getPinProtectAppLaunchPreference()
getPinProtectAppLaunchPreference():
Promise<boolean>
試験版
com.amazon.kepler.parental_controls_experimental_beta2_20240214で利用可能です。
戻り値
Promise<boolean>
実装元
IParentalControlsPreferenceReaderV2.getPinProtectAppLaunchPreference
getPinProtectProfileSwitchPreference()
getPinProtectProfileSwitchPreference():
Promise<boolean>
試験版
com.amazon.kepler.parental_controls_experimental_beta2_20240214で利用可能です。
戻り値
Promise<boolean>
実装元
IParentalControlsPreferenceReaderV2.getPinProtectProfileSwitchPreference
getPinProtectPurchasePreference()
getPinProtectPurchasePreference():
Promise<boolean>
試験版
com.amazon.kepler.parental_controls_experimental_beta2_20240214で利用可能です。
戻り値
Promise<boolean>
実装元
IParentalControlsPreferenceReaderV2.getPinProtectPurchasePreference
isEnabled()
isEnabled():
Promise<boolean>
ペアレンタルコントロールがデバイスで有効になっているかどうかの状態を返します。サブ機能(アプリ起動時や購入時のPIN入力など)を有効にするには、ペアレンタルコントロールを有効にする必要があります。
戻り値
Promise<boolean>
ペアレンタルコントロールがデバイスで有効になっている場合はtrue、それ以外の場合はfalseです。
実装元
IParentalControlsPreferenceReaderV2.isEnabled
Last updated: 2025年9月30日

