Receiver

interface Receiver(source)

Interface for platform-specific memory pressure receivers.

Implementations should monitor memory pressure events and notify the provider when memory pressure levels change.

Functions

Link copied to clipboard
abstract fun start()

Starts monitoring memory pressure events.

Link copied to clipboard
abstract fun stop()

Stops monitoring memory pressure events.