Language

ApplicationExitInfo.ReasonLowMemory フィールド

定義

注意事項

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

アプリケーション プロセスは、システムのメモリ不足キラーによって強制終了されました。つまり、システムは強制終了時にメモリ不足でした。

[Android.Runtime.Register("REASON_LOW_MEMORY", 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 ReasonLowMemory = 3;
[<Android.Runtime.Register("REASON_LOW_MEMORY", 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 ReasonLowMemory : Android.App.ApplicationExitInfoReason

フィールド値

Value = 3

実装

属性

注釈

アプリケーション プロセスは、システムのメモリ不足キラーによって強制終了されました。つまり、システムは強制終了時にメモリ不足でした。 すべてのデバイスがレポートREASON_LOW_MEMORYをサポートしているわけではありません。このようなサポートがないデバイスでは、メモリ不足のためにプロセスが強制終了されると、getReason() はREASON_SIGNALEDを返し、getStatus() は値 OsConstants.SIGKILL を返します。 アプリケーションでは ActivityManager.isLowMemoryKillReportSupported() を使用して、デバイスがレポート REASON_LOW_MEMORYをサポートしているかどうかを確認する必要があります。

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

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

適用対象