Class FormatHolder


  • @Deprecated
    public final class FormatHolder
    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.
    Holds a Format.
    • Field Detail

      • drmSession

        @Nullable
        public DrmSession drmSession
        Deprecated.
        An accompanying context for decrypting samples in the format.
      • format

        @Nullable
        public Format format
        Deprecated.
        The held Format.
    • Constructor Detail

      • FormatHolder

        public FormatHolder()
        Deprecated.
    • Method Detail

      • clear

        public void clear()
        Deprecated.
        Clears the holder.