语言

AppOpsManager.ModeAllowed 字段

定义

注意

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

结果#checkOp,,#noteOp#startOp:允许给定调用方执行给定操作。

[Android.Runtime.Register("MODE_ALLOWED")]
[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 ModeAllowed = 0;
[<Android.Runtime.Register("MODE_ALLOWED")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.AppOpsManagerMode enum directly instead of this field.", true)>]
val mutable ModeAllowed : Android.App.AppOpsManagerMode

字段值

Value = 0
特性

注解

checkOp(String, int, String), noteOp(String, int, String), startOp(String, int, String): 允许给定调用方执行给定的操作。

Android 参考。android.app.AppOpsManager.MODE_ALLOWED

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

适用于