start

suspend fun start(userId: Long, repeatIntervalDuration: Duration = 5.minutes, networkType: NetworkType = NetworkType.UNMETERED): Operation

TODO: support changing repeatIntervalDuration

Return

initialized Operation

Parameters

userId

id of currently logged-in user

repeatIntervalDuration
networkType

required network to use