types/song.ql
| Function | Description |
|---|---|
| native fun getUrl() on song | Gets the URL of the song. If it was not defined with a URL, an empty string is returned. |
| native fun getId() on song | Gets the ID of the song. This is an ID identifiable by the provider which owns this song. |
| native fun getArtist() on song | Gets the Artist entity of the primary artist on the song |
| native fun getAllArtists() on song | Gets all Artist entities on the song. |
| native fun getAlbum() on song | Gets the Album the song is on. |
| native fun getTitle() on song | Gets the name of the song. |
| native fun getDuration() on song | Gets the duration of the song in milliseconds. |