Share via


AppOpsManager.ModeErrored Field

Definition

Caution

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

Result from #checkOpNoThrow, #noteOpNoThrow, #startOpNoThrow: the given caller is not allowed to perform the given operation, and this attempt should cause it to have a fatal error, typically a SecurityException.

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

Field Value

Value = 2
Attributes

Remarks

Result from #checkOpNoThrow, #noteOpNoThrow, #startOpNoThrow: the given caller is not allowed to perform the given operation, and this attempt should cause it to have a fatal error, typically a SecurityException.

Java documentation for android.app.AppOpsManager.MODE_ERRORED.

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