Class 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 of EditedMediaItem instances.

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

    • Field Detail

      • 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 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.

    • Constructor Detail

      • EditedMediaItemSequence

        public EditedMediaItemSequence​(List<EditedMediaItem> editedMediaItems)
        Deprecated.
        Creates an instance.
        Parameters:
        editedMediaItems - The editedMediaItems.
      • EditedMediaItemSequence

        public EditedMediaItemSequence​(List<EditedMediaItem> editedMediaItems,
                                       boolean isLooping)
        Deprecated.
        Creates an instance.
        Parameters:
        editedMediaItems - The editedMediaItems.
        isLooping - Whether the sequence is looping.