get

Returns the current device state("foreground" or "background") based on provided DeviceStateManager.Factory.get implementation.

Return

The current device state.