Interface MemoryMonitorWarningLevel


public interface MemoryMonitorWarningLevel
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The system will soon start terminating
    processes to reclaim memory, including background processes.
    static final int
    Memory on the device is low, processes
    should free up unneeded resources (for example, in-memory caches) so they can
    be used elsewhere.
    static final int
    Same as @G_MEMORY_MONITOR_WARNING_LEVEL_LOW
    but the device has even less free memory, so processes should try harder to free
    up unneeded resources.
  • Field Details

    • LOW

      static final int LOW
      Memory on the device is low, processes
      should free up unneeded resources (for example, in-memory caches) so they can
      be used elsewhere.
      See Also:
    • MEDIUM

      static final int MEDIUM
      Same as @G_MEMORY_MONITOR_WARNING_LEVEL_LOW
      but the device has even less free memory, so processes should try harder to free
      up unneeded resources. If your process does not need to stay running, it is a
      good time for it to quit.
      See Also:
    • CRITICAL

      static final int CRITICAL
      The system will soon start terminating
      processes to reclaim memory, including background processes.
      See Also: