Companion
object Companion
Functions
Link copied to clipboard
Returns the current device state("foreground" or "background") based on provided DeviceStateManager.Factory.get implementation.
Link copied to clipboard
Initialize DeviceStateManager which allows custom implementation of DeviceStateManager.Factory. If no custom implementation provided, DeviceStateManagerFactory implementation will be used.
Link copied to clipboard
Returns a stream of device state("foreground" or "background") value changes based on provided DeviceStateManager.Factory.stream implementation.