items

fun <T> items(items: List<T>, selector: (T) -> Uri, configure: MediaItem.Builder.(T) -> Unit = {}, block: EditedMediaItem.Builder.(T) -> Unit = {}): SequenceBuilder

Create a list of EditedMediaItem from a list of items of type T and add to sequence.

Return

The SequenceBuilder instance.

Parameters

items

The list of items to add.

selector

A lambda to select the Uri from each item.

configure

A lambda to configure the MediaItem.Builder before editing.

block

A lambda to configure the EditedMediaItem.Builder.


fun items(uris: List<Uri>, configure: MediaItem.Builder.(Uri) -> Unit = {}, block: EditedMediaItem.Builder.(Uri) -> Unit = {}): SequenceBuilder

Create a list of EditedMediaItem from a list of Uris and add to sequence.

Return

The SequenceBuilder instance.

Parameters

uris

The list of Uris to add.

configure

A lambda to configure the MediaItem.Builder before editing.

block

A lambda to configure the EditedMediaItem.Builder.