IosMemoryPressure

Implementation of MemoryPressure for iOS.

In the iOS system, NSNotificationCenter is used to monitor memory pressure states.

| iOS Notification                        | MemoryPressureLevel   |
|:----------------------------------------|:----------------------|
| UIApplicationDidEnterBackground         | Low                   |
| UIApplicationDidReceiveMemoryWarning    | Critical              |

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Functions

Link copied to clipboard
open override fun addObserver(observer: MemoryPressure.Observer)
Link copied to clipboard
open fun asFlow(): Flow<MemoryPressureLevel>
Link copied to clipboard
open override fun removeObserver(observer: MemoryPressure.Observer)