ApplicationExitInfo.ReasonUserRequested フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
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_REQUESTED
Java ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。