Class IcyInfo

  • All Implemented Interfaces:
    Parcelable, Metadata.Entry

    public final class IcyInfo
    extends Object
    implements Metadata.Entry
    Deprecated. 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.
    • Field Detail

      • rawMetadata

        public final byte[] rawMetadata
        The complete metadata bytes used to construct this IcyInfo.
      • title

        public final String title
        The stream title if present and decodable, or null.
      • url

        public final String url
        The stream URL if present and decodable, or null.
    • Constructor Detail

      • IcyInfo

        public IcyInfo​(byte[] rawMetadata,
                       String title,
                       String url)
        Construct a new IcyInfo from the source metadata, and optionally a StreamTitle and StreamUrl that have been extracted.
        rawMetadata - See rawMetadata.
        title - See title.
        url - See url.