@UnstableApi
class IcyInfo : Metadata.Entry


ICY in-stream information.

Summary

Constants

const Parcelable.Creator<IcyInfo!>!

Public constructors

IcyInfo(rawMetadata: ByteArray!, title: String?, url: String?)

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

Public functions

Int
Boolean
equals(obj: Any?)
Int
Unit

Updates the MediaMetadata.Builder with the type-specific values stored in this Entry.

String!
Unit
writeToParcel(dest: Parcel!, flags: Int)

Public properties

ByteArray<Byte>!

The complete metadata bytes used to construct this IcyInfo.

String?

The stream title if present and decodable, or null.

String?

The stream URL if present and decodable, or null.

Inherited functions

From androidx.media3.common.Metadata.Entry
ByteArray<Byte>?

Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata.

Format?

Returns the Format that can be used to decode the wrapped metadata in getWrappedMetadataBytes, or null if this Entry doesn't contain wrapped metadata.

Constants

CREATOR

const val CREATORParcelable.Creator<IcyInfo!>!

Public constructors

IcyInfo

IcyInfo(rawMetadata: ByteArray!, title: String?, url: String?)

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

Parameters
rawMetadata: ByteArray!

See rawMetadata.

title: String?

See title.

url: String?

See url.

Public functions

describeContents

fun describeContents(): Int

equals

fun equals(obj: Any?): Boolean

hashCode

fun hashCode(): Int

populateMediaMetadata

fun populateMediaMetadata(builder: MediaMetadata.Builder!): Unit

Updates the MediaMetadata.Builder with the type-specific values stored in this Entry.

Parameters
builder: MediaMetadata.Builder!

The builder to be updated.

toString

fun toString(): String!

writeToParcel

fun writeToParcel(dest: Parcel!, flags: Int): Unit

Public properties

rawMetadata

val rawMetadataByteArray<Byte>!

The complete metadata bytes used to construct this IcyInfo.

title

val titleString?

The stream title if present and decodable, or null.

url

val urlString?

The stream URL if present and decodable, or null.