语言

ApplicationExitInfo.ReasonPackageUpdated 字段

定义

注意

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

应用程序进程已终止,因为它已更新。

[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

字段值

Value = 16

实现

特性

注解

应用程序进程已终止,因为它已更新。 在Build.VERSION_CODES之前。UPSIDE_DOWN_CAKE,REASON_USER_REQUESTED用于指示应用已更新。

Android 参考。android.app.ApplicationExitInfo.REASON_PACKAGE_UPDATED

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于