语言

Context.UserService 字段

定义

用于 #getSystemService(String) 检索用于 android.os.UserManager 管理支持多个用户的设备上的用户。

[Android.Runtime.Register("USER_SERVICE")]
public const string UserService;
[<Android.Runtime.Register("USER_SERVICE")>]
val mutable UserService : string

字段值

特性

注解

用于 #getSystemService(String) 检索用于 android.os.UserManager 管理支持多个用户的设备上的用户。

Java文档android.content.Context.USER_SERVICE。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅