Class EditedMediaItemSequence
- java.lang.Object
-
- com.google.android.exoplayer2.transformer.EditedMediaItemSequence
-
@Deprecated public final class EditedMediaItemSequence extends Object
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.A sequence ofEditedMediaItem
instances.EditedMediaItem instances in a sequence don't overlap in time.
-
-
Field Summary
Fields Modifier and Type Field Description ImmutableList<EditedMediaItem>
editedMediaItems
Deprecated.TheEditedMediaItem
instances in the sequence.boolean
isLooping
Deprecated.Whether this sequence is looping.
-
Constructor Summary
Constructors Constructor Description EditedMediaItemSequence(List<EditedMediaItem> editedMediaItems)
Deprecated.Creates an instance.EditedMediaItemSequence(List<EditedMediaItem> editedMediaItems, boolean isLooping)
Deprecated.Creates an instance.
-
-
-
Field Detail
-
editedMediaItems
public final ImmutableList<EditedMediaItem> editedMediaItems
Deprecated.TheEditedMediaItem
instances in the sequence.This list must not be empty.
-
isLooping
public final boolean isLooping
Deprecated.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 theComposition
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.
-
-
Constructor Detail
-
EditedMediaItemSequence
public EditedMediaItemSequence(List<EditedMediaItem> editedMediaItems)
Deprecated.Creates an instance.- Parameters:
editedMediaItems
- TheeditedMediaItems
.
-
EditedMediaItemSequence
public EditedMediaItemSequence(List<EditedMediaItem> editedMediaItems, boolean isLooping)
Deprecated.Creates an instance.- Parameters:
editedMediaItems
- TheeditedMediaItems
.isLooping
- Whether the sequence is looping.
-
-