Partager via


AppOpsManager.ModeAllowed 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 is allowed to perform the given operation.

[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

Field Value

Value = 0
Attributes

Remarks

Result from #checkOp, #noteOp, #startOp: the given caller is allowed to perform the given operation.

Java documentation for android.app.AppOpsManager.MODE_ALLOWED.

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