EditedMediaItemSequence


@UnstableApi
public final 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 fields

final ImmutableList<EditedMediaItem>

The EditedMediaItem instances in the sequence.

final boolean

Whether this sequence is looping.

Public constructors

This method is deprecated.

Use Builder.

EditedMediaItemSequence(
    EditedMediaItem editedMediaItem,
    EditedMediaItem[] editedMediaItems
)

This method is deprecated.

Use Builder.

EditedMediaItemSequence(
    List<EditedMediaItem> editedMediaItems,
    boolean isLooping
)

This method is deprecated.

Use Builder.

Public fields

editedMediaItems

public final ImmutableList<EditedMediaItemeditedMediaItems

The EditedMediaItem instances in the sequence.

This list must not be empty.

isLooping

public final boolean isLooping

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.

Public constructors

EditedMediaItemSequence

public EditedMediaItemSequence(List<EditedMediaItem> editedMediaItems)

EditedMediaItemSequence

public EditedMediaItemSequence(
    EditedMediaItem editedMediaItem,
    EditedMediaItem[] editedMediaItems
)

EditedMediaItemSequence

public EditedMediaItemSequence(
    List<EditedMediaItem> editedMediaItems,
    boolean isLooping
)