ApplicationExitInfo.ReasonPackageStateChange Field

Definition

Caution

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

Application process was killed because the app was disabled, or any of its component states have changed without android.content.pm.PackageManager#DONT_KILL_APP

[Android.Runtime.Register("REASON_PACKAGE_STATE_CHANGE", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.ApplicationExitInfoReason enum directly instead of this field.", true)]
public const Android.App.ApplicationExitInfoReason ReasonPackageStateChange = 15;
[<Android.Runtime.Register("REASON_PACKAGE_STATE_CHANGE", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.ApplicationExitInfoReason enum directly instead of this field.", true)>]
val mutable ReasonPackageStateChange : Android.App.ApplicationExitInfoReason

Field Value

Value = 15

Implements

Attributes

Remarks

Application process was killed because the app was disabled, or any of its component states have changed without android.content.pm.PackageManager#DONT_KILL_APP

Prior to android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE, #REASON_USER_REQUESTED was used to indicate that an app was updated.

Java documentation for android.app.ApplicationExitInfo.REASON_PACKAGE_STATE_CHANGE.

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