Back to Exoplayer

IcyInfo (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/metadata/icy/IcyInfo.html

latest6.4 KB
Original Source

Package com.google.android.exoplayer2.metadata.icy

Class IcyInfo

  • java.lang.Object

    • com.google.android.exoplayer2.metadata.icy.IcyInfo
  • All Implemented Interfaces:Parcelable, Metadata.Entry


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classIcyInfoextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[Metadata.Entry](../Metadata.Entry.html "interface in com.google.android.exoplayer2.metadata")

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, or null. | | String | url | Deprecated.

The stream URL if present and decodable, or null. |

- 

Fields inherited from interface android.os.Parcelable

CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | IcyInfo​(byte[] rawMetadata, String title, String url) | Deprecated.

Construct a new IcyInfo from the source metadata, and optionally a StreamTitle and StreamUrl that have been extracted. |

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 the MediaMetadata.Builder with the type-specific values stored in this Entry. | | 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](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")title

Deprecated.

The stream title if present and decodable, or null.

- 

url

@Nullable
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")url

Deprecated.

The stream URL if present and decodable, or null.

- 

CREATOR

public static final[Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html "class or interface in android.os")<[IcyInfo](IcyInfo.html "class in com.google.android.exoplayer2.metadata.icy")> CREATOR

Deprecated.

Constructor Detail

- 

IcyInfo

public IcyInfo​(byte[] rawMetadata,
               @Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")title,
               @Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")url)

Deprecated.

Construct a new IcyInfo from the source metadata, and optionally a StreamTitle and StreamUrl that have been extracted. Parameters:rawMetadata - See rawMetadata.title - See title.url - See url.

Method Detail

- 

populateMediaMetadata

public void populateMediaMetadata​([MediaMetadata.Builder](../../MediaMetadata.Builder.html "class in com.google.android.exoplayer2")builder)

Deprecated.

Description copied from interface: Metadata.Entry

Updates the MediaMetadata.Builder with the type-specific values stored in this Entry. Specified by:populateMediaMetadata in interface Metadata.EntryParameters:builder - The builder to be updated.

- 

equals

public boolean equals​(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")obj)

Deprecated. Overrides:equals in class Object

- 

hashCode

public int hashCode()

Deprecated. Overrides:hashCode in class Object

- 

toString

public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")toString()

Deprecated. Overrides:toString in class Object

- 

writeToParcel

public void writeToParcel​([Parcel](https://developer.android.com/reference/android/os/Parcel.html "class or interface in android.os")dest,
                          int flags)

Deprecated. Specified by:writeToParcel in interface Parcelable

- 

describeContents

public int describeContents()

Deprecated. Specified by:describeContents in interface Parcelable