PackageManager.DontKillApp 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.
標記參數 表示 #setComponentEnabledSetting(android.content.ComponentName, int, int) 你不想關閉包含該元件的應用程式。
[Android.Runtime.Register("DONT_KILL_APP")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.", true)]
public const Android.Content.PM.ComponentEnableOption DontKillApp = 1;
[<Android.Runtime.Register("DONT_KILL_APP")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.", true)>]
val mutable DontKillApp : Android.Content.PM.ComponentEnableOption
欄位值
Value = 1- 屬性
備註
標記參數 表示 #setComponentEnabledSetting(android.content.ComponentName, int, int) 你不想關閉包含該元件的應用程式。 設定時要小心,因為改變元件狀態會讓包含應用程式的行為變得無法預測。
Java 文件 android.content.pm.PackageManager.DONT_KILL_APP。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。