initialize

fun initialize(factory: DeviceStateManager.Factory = DeviceStateManagerFactory())

Initialize DeviceStateManager which allows custom implementation of DeviceStateManager.Factory. If no custom implementation provided, DeviceStateManagerFactory implementation will be used.