语言

DevicePolicyManager.IsUsingUnifiedPassword(ComponentName) 方法

定义

如果配置文件的父用户使用统一质询,则托管配置文件的配置文件所有者调用时返回 true。

[Android.Runtime.Register("isUsingUnifiedPassword", "(Landroid/content/ComponentName;)Z", "GetIsUsingUnifiedPassword_Landroid_content_ComponentName_Handler", ApiSince=28)]
public virtual bool IsUsingUnifiedPassword(Android.Content.ComponentName admin);
[<Android.Runtime.Register("isUsingUnifiedPassword", "(Landroid/content/ComponentName;)Z", "GetIsUsingUnifiedPassword_Landroid_content_ComponentName_Handler", ApiSince=28)>]
abstract member IsUsingUnifiedPassword : Android.Content.ComponentName -> bool
override this.IsUsingUnifiedPassword : Android.Content.ComponentName -> bool

参数

admin
ComponentName

DeviceAdminReceiver此请求与此请求相关联。

返回

true 如果配置文件对其父用户使用统一质询,则为否则,为 false.

特性

注解

如果配置文件的父用户使用统一质询,则托管配置文件的配置文件所有者调用时返回 true。

注意:此方法与密码质量无关,如果配置文件具有空密码作为单独的质询,则返回 false。

Java文档android.app.admin.DevicePolicyManager.isUsingUnifiedPassword(android.content.ComponentName)。

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

适用于