开始使用
设置
- 将以下库依赖项添加到package.json文件的
dependencies部分。
-
在manifest.toml中添加以下组件和权限。
API参考
类
- ParentalControlsComponentTmGlue—IParentalControlsComponent的具体实现。
- ParentalControlsPreferenceReaderTmGlue—调用TM的IParentalControlsComponent的模块私有实现。
接口
- IContentRestrictionLevel—表示家长监护内容限制级别的概念
- IGateContentPlaybackResponse—对IParentalControlsComponent#gateContentPlayback请求的响应。
- IParentalControlsComponent—这时用于连接家长监护的顶层组件。
- IParentalControlsPreferenceReader—用于读取家长监护首选项(包括整体)的接口

