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


interface StatePersistenceCallback (source)

Describes a delegate object that is used by OAuthAccount to persist its internal state as it changes.


Name Summary
persist abstract fun persist(data: String): 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.