Partager via


AppOpsManager.ModeIgnored 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 not allowed to perform the given operation, and this attempt should <em>silently fail</em> (it should not cause the app to crash).

[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

Field Value

Value = 1
Attributes

Remarks

Result from #checkOp, #noteOp, #startOp: the given caller is not allowed to perform the given operation, and this attempt should <em>silently fail</em> (it should not cause the app to crash).

Java documentation for android.app.AppOpsManager.MODE_IGNORED.

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