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>CREATORDeprecated.byte[]rawMetadataDeprecated.The complete metadata bytes used to construct this IcyInfo.StringtitleDeprecated.The stream title if present and decodable, ornull.StringurlDeprecated.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 intdescribeContents()Deprecated.booleanequals(Object obj)Deprecated.inthashCode()Deprecated.voidpopulateMediaMetadata(MediaMetadata.Builder builder)Deprecated.Updates theMediaMetadata.Builderwith the type-specific values stored in thisEntry.StringtoString()Deprecated.voidwriteToParcel(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.EntryUpdates theMediaMetadata.Builderwith the type-specific values stored in thisEntry.- Specified by:
populateMediaMetadatain interfaceMetadata.Entry- Parameters:
builder- The builder to be updated.
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.- Specified by:
writeToParcelin interfaceParcelable
-
describeContents
public int describeContents()
Deprecated.- Specified by:
describeContentsin interfaceParcelable
-
-