Sdílet prostřednictvím


PackageManager.DontKillApp Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.PM.ComponentEnableOption enum directly instead of this field.

Flag parameter for #setComponentEnabledSetting(android.content.ComponentName, int, int) to indicate that you don't want to kill the app containing the component.

[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

Field Value

Value = 1
Attributes

Remarks

Flag parameter for #setComponentEnabledSetting(android.content.ComponentName, int, int) to indicate that you don't want to kill the app containing the component. Be careful when you set this since changing component states can make the containing application's behavior unpredictable.

Java documentation for android.content.pm.PackageManager.DONT_KILL_APP.

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