android-components / mozilla.components.service.fxa / SyncConfig


data class SyncConfig (source)

Configuration for sync.


Name Summary
<init> SyncConfig(supportedEngines: Set<SyncEngine>, syncPeriodInMinutes: Long? = null)
Configuration for sync.


Name Summary
supportedEngines val supportedEngines: Set<SyncEngine>
A set of supported sync engines, exposed via GlobalSyncableStoreProvider.
syncPeriodInMinutes val syncPeriodInMinutes: Long?
Optional, how frequently periodic sync should happen. If this is null, periodic syncing will be disabled.

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.