Package io.didomi.sdk.config.app
Class SyncConfiguration
-
- All Implemented Interfaces:
public final class SyncConfigurationConfiguration for syncing with remote server (aka cross-device)
-
-
Field Summary
Fields Modifier and Type Field Description public final static IntegerDEFAULT_FREQUENCYpublic final static IntegerDEFAULT_TIMEOUTprivate final Booleanenabledprivate final Integertimeoutprivate final Integerfrequency
-
Constructor Summary
Constructors Constructor Description SyncConfiguration(Boolean enabled, Integer timeout, Integer frequency)
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()Whether syncing is enabled or not final IntegergetTimeout()The timeout to expire the sync request (in ms) final IntegergetFrequency()Do not sync more than once every X seconds We default to syncing once every day -
-
Method Detail
-
getEnabled
final Boolean getEnabled()
Whether syncing is enabled or not
-
getTimeout
final Integer getTimeout()
The timeout to expire the sync request (in ms)
-
getFrequency
final Integer getFrequency()
Do not sync more than once every X seconds We default to syncing once every day
-
-
-
-