Package-level declarations

Types

Link copied to clipboard
data class CacheConfig(val dropAllCachesOnUnauthorised: Boolean = true, val usePersistentCache: Boolean = true, val maxPersistentCacheSize: Long? = 100 * 1024 * 1024, val cleanupPersistentCacheForOtherUsers: Boolean = true, val cleanupUnusedCachesAfter: <Error class: unknown class> = 7.days)
Link copied to clipboard
interface Closeable
Link copied to clipboard

Represents underlying transport connection state.

Link copied to clipboard

Log level constants.

Link copied to clipboard
Link copied to clipboard
data class SyncClientConfig(val httpTimeout: <Error class: unknown class> = 10.seconds, val commandTimeout: <Error class: unknown class> = 10.seconds, val pageSize: Int = kDefaultPageSize, val region: String = "us1", val deferCertificateTrustToPlatform: Boolean = true, val useProxy: Boolean = false)
Link copied to clipboard
data class SyncConfig(val syncClientConfig: SyncClientConfig = SyncClientConfig(), val cacheConfig: CacheConfig = CacheConfig())

Properties

Link copied to clipboard
const val kDefaultPageSize: Int = 100
Link copied to clipboard
val <Error class: unknown class>.SYNC_GRANT: String

Twilio grant value for the sync product.

Link copied to clipboard
val <Error class: unknown class>.syncInstanceSid: String

Instance SID for the sync grant.

Functions

Link copied to clipboard
fun <Error class: unknown class>.createAccountDescriptor(accountSid: String, syncInstanceSid: String, identity: String): <Error class: unknown class>

Creates AccountDescriptor with single instance SID for the sync grant.