setDownloadMode

open fun setDownloadMode(phase: Int, mode: DownloadMode)

Configure the mode (any, batch, parallel or sequence) for a specified {@link com.sap.cloud.mobile.kotlin.odata.CloudSyncProvider#download(com.sap.cloud.mobile.kotlin.odata.StringList, com.sap.cloud.mobile.kotlin.odata.SyncOptions) CloudSyncProvider.download} phase. Selecting mode any means that the effective mode is determined by other configuration settings (e.g. for batches or threads).

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.CloudSyncProvider#getDownloadPhase(kotlin.Int) CloudSyncProvider.getDownloadPhase}.

Parameters

phase

Download phase.

mode

Download mode.