共用方式為


ApplicationExitInfo.ReasonPackageUpdated 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 it was updated.

[Android.Runtime.Register("REASON_PACKAGE_UPDATED", 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 ReasonPackageUpdated = 16;
[<Android.Runtime.Register("REASON_PACKAGE_UPDATED", 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 ReasonPackageUpdated : Android.App.ApplicationExitInfoReason

Field Value

Value = 16

Implements

Attributes

Remarks

Application process was killed because it was updated.

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_UPDATED.

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