ApplicationExitInfo.ReasonUserRequested フィールド

定義

注意事項

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

ユーザーの要求により、アプリケーション プロセスが強制終了されました。たとえば、ユーザーが [設定] のアプリケーションの [強制停止] ボタンをクリックしたか、最近使ったアプリケーションからアプリケーションが削除されました。

[Android.Runtime.Register("REASON_USER_REQUESTED", ApiSince=30)]
[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 ReasonUserRequested = 10;
[<Android.Runtime.Register("REASON_USER_REQUESTED", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.ApplicationExitInfoReason enum directly instead of this field.", true)>]
val mutable ReasonUserRequested : Android.App.ApplicationExitInfoReason

フィールド値

Value = 10

実装

属性

注釈

ユーザーの要求により、アプリケーション プロセスが強制終了されました。たとえば、ユーザーが [設定] のアプリケーションの [強制停止] ボタンをクリックしたか、最近使ったアプリケーションからアプリケーションが削除されました。

以前は android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE、この理由の用途の 1 つは、アプリが更新されたためにアプリが強制終了されたか、コンポーネントの状態のいずれかが変更されていないことを示すものでした。 android.content.pm.PackageManager#DONT_KILL_APP

android.app.ApplicationExitInfo.REASON_USER_REQUESTEDJava ドキュメント。

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

適用対象