Class 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.
    • 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, or null.
      • url

        @Nullable
        public final String url
        Deprecated.
        The stream URL if present and decodable, or null.
    • 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 - See rawMetadata.
        title - See title.
        url - See url.