语言

Context.ContentRestrictionService 字段

定义

#getSystemService(String)用于检索 android.app.contentsafety.ContentSafetyManager.

[Android.Runtime.Register("CONTENT_RESTRICTION_SERVICE", ApiSince=37)]
public const string ContentRestrictionService;
[<Android.Runtime.Register("CONTENT_RESTRICTION_SERVICE", ApiSince=37)>]
val mutable ContentRestrictionService : string

字段值

特性

注解

与 getSystemService(String) 配合使用以检索 ContentSafetyManager。

Android 参考。android.content.Context.CONTENT_RESTRICTION_SERVICE

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于