PackageManager.DontKillApp フィールド

定義

注意事項

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ドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象