Type Method

formattedSeconds

Returns an object with seconds formatted into hours and minutes.

Declaration

static number formattedSeconds(number seconds);

Parameters

seconds

The number of seconds.

Return Value

An object containing hours and minutes properties that equal the number of seconds.

See Also

Utilities

formatArtworkURL

Returns a formatted artwork URL.

formattedMilliseconds

Returns an object with milliseconds formatted into hours and minutes.

generateEmbedCode

Generates Apple Music web player markup.

MusicKit.Events

A dictionary containing events for a MusicKit instance.