@UnstableApi
class IcyInfo : Metadata.Entry


ICY in-stream information.

Summary

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

Boolean
equals(obj: Any?)
Int
Unit

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

String!

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.

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

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!

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.