android-components / mozilla.components.service.fxa.sync / SyncReason

SyncReason

sealed class SyncReason (source)

A collection of objects describing a reason for running a sync.

Types

Name Summary
EngineChange object EngineChange : SyncReason
User changed enabled/disabled state of one or more SyncEngines.
Startup object Startup : SyncReason
Application is starting up, and wants to sync data.
User object User : SyncReason
User is requesting a sync (e.g. pressed a “sync now” button).

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.

Inheritors

Name Summary
EngineChange object EngineChange : SyncReason
User changed enabled/disabled state of one or more SyncEngines.
Startup object Startup : SyncReason
Application is starting up, and wants to sync data.
User object User : SyncReason
User is requesting a sync (e.g. pressed a “sync now” button).