ItemSourceClient

fun ItemSourceClient(sourceId: SourceId, mediaItem: IviMediaItem, coroutineDispatcher: CoroutineDispatcher = Options.mediaCoroutineDispatcher)

Parameters

sourceId

ID of the source to connect to.

mediaItem

The media item to target.

coroutineDispatcher

The coroutine dispatcher to use to launch background operations. The most common are IPC requests via Binder. Defaults to the IO dispatcher.