Interface MemoryMonitor.OnLowMemoryWarning

Enclosing class:
MemoryMonitor
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MemoryMonitor.OnLowMemoryWarning
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onLowMemoryWarning(int level)
    Emitted when the system is running low on free memory.
  • Method Details

    • onLowMemoryWarning

      void onLowMemoryWarning(int level)
      Emitted when the system is running low on free memory. The signal
      handler should then take the appropriate action depending on the
      warning level. See the #GMemoryMonitorWarningLevel documentation for
      details.
      Parameters:
      level - the #GMemoryMonitorWarningLevel warning level