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

Javaドキュメント。

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

適用対象