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

実装

属性

注釈

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

<p class="note"> すべてのデバイスがレポートをサポートしている#REASON_LOW_MEMORYわけではありません。そのようなサポートがないデバイスでは、メモリ不足のためにプロセスが強制終了されると、 は を返#REASON_SIGNALED#getStatus#getReasonandroid.system.OsConstants#SIGKILLを返します。

アプリケーションでは、デバイスがレポートをサポートしているかどうかをチェックするために を使用android.app.ActivityManager#isLowMemoryKillReportSupported() ActivityManager.isLowMemoryKillReportSupported()する#REASON_LOW_MEMORY必要があります。 </p>

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

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

適用対象