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

DeviceEventsObserver

interface DeviceEventsObserver (source)

Allows monitoring events targeted at the current device.

Functions

Name Summary
onEvents abstract fun onEvents(events: List<DeviceEvent>): 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.