語言

AppOpsManager.ModeErrored 欄位

定義

警告

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

結果來自 #checkOpNoThrow#noteOpNoThrow#startOpNoThrow:給定呼叫者不得執行該操作,且此嘗試應導致致命錯誤,通常是 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

欄位值

Value = 2
屬性

備註

checkOpNoThrow(String, int, String), noteOpNoThrow(String, int, String), startOpNoThrow(String, int, String):呼叫者不被允許執行該操作,此嘗試應導致致命錯誤,通常是 SecurityException。

Android 參考資料。android.app.AppOpsManager.MODE_ERRORED

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於