DefaultAppStateMonitor
class DefaultAppStateMonitor(logger: Logger, application: Application? = null, memoryCheckIntervalMs: Long = 5000) : AppStateMonitor, DefaultLifecycleObserver, NetworkMonitor.NetworkObserver
Properties
Functions
Link copied to clipboard
Bind a handler to handle app state events triggered by state changes.
Link copied to clipboard
Returns the current battery level as a value between 0.0 and 1.0
Link copied to clipboard
Returns the current battery state
Link copied to clipboard
Checks whether Android's Battery Saver mode (a.k.a. Low Power Mode) is currently enabled.
Link copied to clipboard
Callback from NetworkMonitor indicating a change in the network connection type.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard