stream

Returns a stream of device state("foreground" or "background") value changes based on provided DeviceStateManager.Factory.stream implementation.

Return

A stream of device state value changes.