Builder to construct an Indexable
for a song or other music recording.
For reference, see: //schema.org/MusicRecording.
Public Method Summary
MusicRecordingBuilder | |
MusicRecordingBuilder |
setDuration(int durationInSeconds)
Sets the duration of the item in seconds.
|
MusicRecordingBuilder | |
MusicRecordingBuilder |
setInPlaylist(MusicPlaylistBuilder...
musicPlaylists)
Sets the playlist to which this recording belongs.
|
Inherited Method Summary
Public Methods
public MusicRecordingBuilder setByArtist (MusicGroupBuilder artist)
Sets the artist who performed this music recording.
Parameters
artist | The artist who performed the music recording. |
---|
public MusicRecordingBuilder setDuration (int durationInSeconds)
Sets the duration of the item in seconds.
Parameters
durationInSeconds | The duration of the item in seconds. |
---|
public MusicRecordingBuilder setInAlbum (MusicAlbumBuilder musicAlbum)
Sets the album to which this recording belongs.
Parameters
musicAlbum | The album to which this recording belongs. |
---|
public MusicRecordingBuilder setInPlaylist (MusicPlaylistBuilder... musicPlaylists)
Sets the playlist to which this recording belongs.
Parameters
musicPlaylists | The playlists to which this recording belongs. |
---|