MediaItem

open class MediaItem

MediaItem represents metadata associated Signature.

A MediaItem is used in two distinct ways

  1. Referenced by a MatchedMediaItem, and therefore as the result of a match.

  2. As a way of associating metadata with reference signatures in a CustomCatalog.

A MediaItem contains no required fields and may be entirely blank. They can also contain custom data set with custom keys when making a CustomCatalog.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The AppleMusic ID.

Link copied to clipboard

A link to this media on Apple Music.

Link copied to clipboard

The Artist.

Link copied to clipboard

A URL to the artwork.

Link copied to clipboard

Is this content explicit.

Link copied to clipboard

A List of HalfClosedDoubleRange that indicate the frequency skew compared to the reference signature

Link copied to clipboard

Genres.

Link copied to clipboard
val isrc: String?

The ISRC (International Standard Recording Code).

Link copied to clipboard

The unique ShazamID.

Link copied to clipboard

Subtitle.

Link copied to clipboard

A List of HalfClosedDoubleRange that indicate the offsets within the reference signature that this media item describes

Link copied to clipboard

Title.

Link copied to clipboard

A URL for a Video associated with the media.

Link copied to clipboard
val webURL: URL?

A web URL representing this result.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun get(key: String): Any?

Fetch a custom parameter given its key.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String