Android Guides | Samples

Android.App.AppOpsManager.ModeErrored Field

Result from AppOpsManager.CheckOpNoThrow(String,Int32,Int32), AppOpsManager.NoteOpNoThrow(String,Int32,Int32), AppOpsManager.StartOpNoThrow(String,Int32,Int32): 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.

Value: 2

Syntax

[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.")]
public const AppOpsManagerMode ModeErrored

Remarks

Result from AppOpsManager.CheckOpNoThrow(String,Int32,Int32), AppOpsManager.NoteOpNoThrow(String,Int32,Int32), AppOpsManager.StartOpNoThrow(String,Int32,Int32): 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 Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0