Language

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

実装

属性

注釈

アプリケーション プロセスは、ユーザー要求のために強制終了されました。たとえば、ユーザーが [設定] でアプリケーションの [強制停止] ボタンをクリックしたり、最近使ったアプリからアプリケーションを削除したりしました。 Build.VERSION_CODESより前。UPSIDE_DOWN_CAKE、この理由の用途の 1 つは、アプリが更新されたこと、またはそのコンポーネントの状態のいずれかが変更されたためにアプリが強制終了されたことを示すものでしたPackageManager.DONT_KILL_APP

android.app.ApplicationExitInfo.REASON_USER_REQUESTEDの Android リファレンス。

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

適用対象