Interface MemoryWarningSystem.OnMemoryThresholdReached

Enclosing class:
MemoryWarningSystem

public static interface MemoryWarningSystem.OnMemoryThresholdReached
Interface that is invoked when a certain memory threshold has been reached.
Author:
Steven Arzt
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onThresholdReached(long usedMemory, long maxMemory)
    Method that is called when a certain memory threshold has been reached.
  • Method Details

    • onThresholdReached

      void onThresholdReached(long usedMemory, long maxMemory)
      Method that is called when a certain memory threshold has been reached.
      Parameters:
      usedMemory - The amount of memory currently in use
      maxMemory - The maximum amount of allocated memory