Class MdtaMetadataEntry
- java.lang.Object
-
- com.google.android.exoplayer2.metadata.mp4.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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<MdtaMetadataEntry>
CREATOR
Deprecated.String
key
Deprecated.The metadata key name.static String
KEY_ANDROID_CAPTURE_FPS
Deprecated.Key for the capture frame rate (in frames per second).int
localeIndicator
Deprecated.The four byte locale indicator.static int
TYPE_INDICATOR_FLOAT32
Deprecated.The type indicator for Float32.static int
TYPE_INDICATOR_INT32
Deprecated.The type indicator for 32-bit signed integer.static int
TYPE_INDICATOR_STRING
Deprecated.The type indicator for UTF-8 string.int
typeIndicator
Deprecated.The four byte type indicator.byte[]
value
Deprecated.The payload.-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description MdtaMetadataEntry(String key, byte[] value, int localeIndicator, int typeIndicator)
Deprecated.Creates a new metadata entry for the specified metadata key/value.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
describeContents()
Deprecated.boolean
equals(Object obj)
Deprecated.int
hashCode()
Deprecated.String
toString()
Deprecated.void
writeToParcel(Parcel dest, int flags)
Deprecated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.android.exoplayer2.metadata.Metadata.Entry
getWrappedMetadataBytes, getWrappedMetadataFormat, populateMediaMetadata
-
-
-
-
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 ontypeIndicator
.
-
localeIndicator
public final int localeIndicator
Deprecated.The four byte locale indicator.
-
typeIndicator
public final int typeIndicator
Deprecated.The four byte type indicator.
-
CREATOR
public static final Parcelable.Creator<MdtaMetadataEntry> CREATOR
Deprecated.
-
-
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.
-
-
Method Detail
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.- Specified by:
writeToParcel
in interfaceParcelable
-
describeContents
public int describeContents()
Deprecated.- Specified by:
describeContents
in interfaceParcelable
-
-