EditedMediaItemSequence


@UnstableApi
class EditedMediaItemSequence


A sequence of EditedMediaItem instances.

EditedMediaItem instances in a sequence don't overlap in time.

Summary

Nested types

A builder for instances of EditedMediaItemSequence.

Public constructors

EditedMediaItemSequence(
    editedMediaItems: (Mutable)List<EditedMediaItem!>!
)

This function is deprecated.

Use Builder.

EditedMediaItemSequence(
    editedMediaItem: EditedMediaItem!,
    editedMediaItems: Array<EditedMediaItem!>!
)

This function is deprecated.

Use Builder.

EditedMediaItemSequence(
    editedMediaItems: (Mutable)List<EditedMediaItem!>!,
    isLooping: Boolean
)

This function is deprecated.

Use Builder.

Public properties

ImmutableList<EditedMediaItem!>!

The EditedMediaItem instances in the sequence.

Boolean

Whether this sequence is looping.

Public constructors

EditedMediaItemSequence

EditedMediaItemSequence(
    editedMediaItems: (Mutable)List<EditedMediaItem!>!
)

EditedMediaItemSequence

EditedMediaItemSequence(
    editedMediaItem: EditedMediaItem!,
    editedMediaItems: Array<EditedMediaItem!>!
)

EditedMediaItemSequence

EditedMediaItemSequence(
    editedMediaItems: (Mutable)List<EditedMediaItem!>!,
    isLooping: Boolean
)

Public properties

editedMediaItems

val editedMediaItemsImmutableList<EditedMediaItem!>!

The EditedMediaItem instances in the sequence.

This list must not be empty.

isLooping

val isLoopingBoolean

Whether this sequence is looping.

This value indicates whether to loop over the EditedMediaItem instances in this sequence until all the non-looping sequences in the Composition have ended.

A looping sequence ends at the same time as the longest non-looping sequence. This means that the last exported EditedMediaItem from a looping sequence can be only partially exported.