Class MdtaMetadataEntry

  • All Implemented Interfaces:
    Parcelable, Metadata.Entry

    @Deprecated
    public final class MdtaMetadataEntry
    extends Object
    implements Metadata.Entry
    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.
    Stores extensible metadata with handler type 'mdta'. See also the QuickTime File Format Specification.
    • Field Detail

      • KEY_ANDROID_CAPTURE_FPS

        public static final String KEY_ANDROID_CAPTURE_FPS
        Deprecated.
        Key for the capture frame rate (in frames per second).
        See Also:
        Constant Field Values
      • TYPE_INDICATOR_STRING

        public static final int TYPE_INDICATOR_STRING
        Deprecated.
        The type indicator for UTF-8 string.
        See Also:
        Constant Field Values
      • TYPE_INDICATOR_FLOAT32

        public static final int TYPE_INDICATOR_FLOAT32
        Deprecated.
        The type indicator for Float32.
        See Also:
        Constant Field Values
      • TYPE_INDICATOR_INT32

        public static final int TYPE_INDICATOR_INT32
        Deprecated.
        The type indicator for 32-bit signed integer.
        See Also:
        Constant Field Values
      • key

        public final String key
        Deprecated.
        The metadata key name.
      • value

        public final byte[] value
        Deprecated.
        The payload. The interpretation of the value depends on typeIndicator.
      • localeIndicator

        public final int localeIndicator
        Deprecated.
        The four byte locale indicator.
      • typeIndicator

        public final int typeIndicator
        Deprecated.
        The four byte type indicator.
    • Constructor Detail

      • MdtaMetadataEntry

        public MdtaMetadataEntry​(String key,
                                 byte[] value,
                                 int localeIndicator,
                                 int typeIndicator)
        Deprecated.
        Creates a new metadata entry for the specified metadata key/value.