Contents

Stations.Attributes

The attributes for a station resource.

Declaration

object Stations.Attributes

Properties

NameTypeDescription
artwork RequiredArtwork

The radio station artwork.

durationInMillisinteger

The duration of the stream. This value isn’t emitted for ‘live’ or programmed stations.

editorialNotesEditorialNotes

The notes about the station that appear in Apple Music.

episodeNumberstring

The episode number of the station. This value appears when the station represents an episode of a show or other content.

contentRatingstring

The rating of the content possibly heard while playing the station. The possible values for this rating are clean and explicit. No value means no rating.

isLive Requiredboolean

Indicates whether the station is a livestream.

mediaKind Requiredstring

The media kind for the station. It can have value audio or video depending on whether it has video stream or audio stream.

name Requiredstring

The localized name of the station.

playParamsPlayParameters

When present, this attribute indicates that the radio station or episode is available to play with an Apple Music subscription. The value map may be used to initiate playback of the station. Live radio stations and episodes initiate streaming playback. Track-based stations initiate playback of individual tracks.

stationProviderNamestring

The name of the entity that provided the station, when specified.

url Requiredstring

The URL for sharing the station in Apple Music.

See Also

Related Objects