Partager via


AppOpsManager.ModeDefault Field

Definition

Caution

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

Result from #checkOp, #noteOp, #startOp: the given caller should use its default security check.

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

Field Value

Value = 3
Attributes

Remarks

Result from #checkOp, #noteOp, #startOp: the given caller should use its default security check. This mode is not normally used; it should only be used with appop permissions, and callers must explicitly check for it and deal with it.

Java documentation for android.app.AppOpsManager.MODE_DEFAULT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to