android-components / mozilla.components.concept.sync / DeviceConstellationObserver

DeviceConstellationObserver

interface DeviceConstellationObserver (source)

Allows monitoring constellation state.

Functions

Name Summary
onDevicesUpdate abstract fun onDevicesUpdate(constellation: ConstellationState): Unit

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.