语言

AppOpsManager.ModeErrored 字段

定义

注意

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

#checkOpNoThrow结果,,#noteOpNoThrow#startOpNoThrow:不允许给定调用方执行给定操作,并且此尝试应导致其出现致命错误,通常是一个SecurityException。

[Android.Runtime.Register("MODE_ERRORED")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.AppOpsManagerMode enum directly instead of this field.", true)]
public const Android.App.AppOpsManagerMode ModeErrored = 2;
[<Android.Runtime.Register("MODE_ERRORED")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.AppOpsManagerMode enum directly instead of this field.", true)>]
val mutable ModeErrored : Android.App.AppOpsManagerMode

字段值

Value = 2
特性

注解

checkOpNoThrow(String, int, String), noteOpNoThrow(String, int, String), startOpNoThrow(String, int, String): 给定调用方不允许执行给定的操作,并且此尝试应导致其出现致命错误,通常是 SecurityException。

Android 参考。android.app.AppOpsManager.MODE_ERRORED

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

适用于