android-components / mozilla.components.service.fxa / FxaDeviceConstellation / registerDeviceObserver

registerDeviceObserver

fun registerDeviceObserver(observer: DeviceConstellationObserver, owner: LifecycleOwner, autoPause: Boolean): Unit (source)

Overrides DeviceConstellation.registerDeviceObserver

Allows monitoring state of the device constellation via DeviceConstellationObserver. Use this to be notified of changes to the current device or other devices.