语言

UserManager.QuietModeDisableOnlyIfCredentialNotRequired 字段

定义

注意

This constant will be removed in the future version. Use Android.OS.QuietMode enum directly instead of this field.

仅当无需确认用户凭据时,才会将标志传递给 #requestQuietModeEnabled 请求禁用静默模式。

[Android.Runtime.Register("QUIET_MODE_DISABLE_ONLY_IF_CREDENTIAL_NOT_REQUIRED", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.QuietMode enum directly instead of this field.", true)]
public const Android.OS.QuietMode QuietModeDisableOnlyIfCredentialNotRequired = 1;
[<Android.Runtime.Register("QUIET_MODE_DISABLE_ONLY_IF_CREDENTIAL_NOT_REQUIRED", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.QuietMode enum directly instead of this field.", true)>]
val mutable QuietModeDisableOnlyIfCredentialNotRequired : Android.OS.QuietMode

字段值

Value = 1
特性

注解

仅当无需确认用户凭据时,才会将标志传递给 #requestQuietModeEnabled 请求禁用静默模式。 如果需要凭据来禁用静默模式, #requestQuietModeEnabled 则不执行任何操作并返回 false。

Java文档android.os.UserManager.QUIET_MODE_DISABLE_ONLY_IF_CREDENTIAL_NOT_REQUIRED。

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

适用于