Options

object Options

Global run-time options for media library components.

Set these before creating any components in any processes.

Properties

Link copied to clipboard
var browsingRequestTimeout: Duration

Maximum duration to wait for remote operations.

Link copied to clipboard
const val DEFAULT_PAGE_SIZE: Int = 250

Obtain at most this many results at a time.

Link copied to clipboard
var initialConnectionTime: Duration

Maximum time interval allowed, for a source to initially connect.

Link copied to clipboard
var isItemDumpingEnabled: Boolean = false

Enable printing the contents of received media items to logcat. This is useful during the initial discovery phase for a new media source, to find which information the source makes available.

Link copied to clipboard
var mediaCoroutineDispatcher: CoroutineDispatcher

Default coroutine dispatcher used throughout the API to perform requests in the background.