AppOpsManager.ModeIgnored 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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_IGNORED")]
[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 ModeIgnored = 1;
[<Android.Runtime.Register("MODE_IGNORED")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.AppOpsManagerMode enum directly instead of this field.", true)>]
val mutable ModeIgnored : Android.App.AppOpsManagerMode
字段值
Value = 1- 特性
注解
checkOp(String, int, String), noteOp(String, int, String), startOp(String, int, String): 不允许给定调用方执行给定的操作,并且此尝试应无提示失败(不应导致应用崩溃)。
Android 参考。android.app.AppOpsManager.MODE_IGNORED
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。