Builder
See also
Functions
apiHost
Link copied to clipboard
Set a specific pCloud API host.
authenticator
Link copied to clipboard
abstract fun authenticator(authenticator: Authenticator): ApiClient.Builder
Content copied to clipboard
cache
Link copied to clipboard
callbackExecutor
Link copied to clipboard
abstract fun callbackExecutor(callbackExecutor: Executor): ApiClient.Builder
Content copied to clipboard
connectionPool
Link copied to clipboard
abstract fun connectionPool(connectionPool: ConnectionPool): ApiClient.Builder
Content copied to clipboard
connectTimeout
Link copied to clipboard
abstract fun connectTimeout(timeout: Long, timeUnit: TimeUnit): ApiClient.Builder
Content copied to clipboard
dispatcher
Link copied to clipboard
progressCallbackThreshold
Link copied to clipboard
Define a progress notifications threshold If set, a supplied ProgressListener instance will be invoked on no less than
bytes
of transferred data.readTimeout
Link copied to clipboard
abstract fun readTimeout(timeout: Long, timeUnit: TimeUnit): ApiClient.Builder
Content copied to clipboard
withClient
Link copied to clipboard
Use an existing OkHttpClient instance and share the Dispatcher, ConnectionPool and Cache Must not be null.
writeTimeout
Link copied to clipboard
abstract fun writeTimeout(timeout: Long, timeUnit: TimeUnit): ApiClient.Builder
Content copied to clipboard