Class IcyInfo
- java.lang.Object
-
- com.google.android.exoplayer2.metadata.icy.IcyInfo
-
- All Implemented Interfaces:
Parcelable
,Metadata.Entry
@Deprecated public final class IcyInfo 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.ICY in-stream information.
-
-
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<IcyInfo>
CREATOR
Deprecated.byte[]
rawMetadata
Deprecated.The complete metadata bytes used to construct this IcyInfo.String
title
Deprecated.The stream title if present and decodable, ornull
.String
url
Deprecated.The stream URL if present and decodable, ornull
.-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_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.void
populateMediaMetadata(MediaMetadata.Builder builder)
Deprecated.Updates theMediaMetadata.Builder
with the type-specific values stored in thisEntry
.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
-
-
-
-
Field Detail
-
rawMetadata
public final byte[] rawMetadata
Deprecated.The complete metadata bytes used to construct this IcyInfo.
-
title
@Nullable public final String title
Deprecated.The stream title if present and decodable, ornull
.
-
url
@Nullable public final String url
Deprecated.The stream URL if present and decodable, ornull
.
-
CREATOR
public static final Parcelable.Creator<IcyInfo> CREATOR
Deprecated.
-
-
Constructor Detail
-
IcyInfo
public IcyInfo(byte[] rawMetadata, @Nullable String title, @Nullable String url)
Deprecated.Construct a new IcyInfo from the source metadata, and optionally a StreamTitle and StreamUrl that have been extracted.- Parameters:
rawMetadata
- SeerawMetadata
.title
- Seetitle
.url
- Seeurl
.
-
-
Method Detail
-
populateMediaMetadata
public void populateMediaMetadata(MediaMetadata.Builder builder)
Deprecated.Description copied from interface:Metadata.Entry
Updates theMediaMetadata.Builder
with the type-specific values stored in thisEntry
.- Specified by:
populateMediaMetadata
in interfaceMetadata.Entry
- Parameters:
builder
- The builder to be updated.
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.- Specified by:
writeToParcel
in interfaceParcelable
-
describeContents
public int describeContents()
Deprecated.- Specified by:
describeContents
in interfaceParcelable
-
-