java.lang.Object | ||
↳ | com.google.firebase.appindexing.builders.IndexableBuilder<com.google.firebase.appindexing.builders.MusicRecordingBuilder> | |
↳ | com.google.firebase.appindexing.builders.MusicRecordingBuilder |
Builder to construct an Indexable
for a song or other
music recording.
For reference, see: http://schema.org/MusicRecording.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the artist who performed this music recording.
| |||||||||||
Sets the duration of the item in seconds.
| |||||||||||
Sets the album to which this recording belongs.
| |||||||||||
Sets the playlist to which this recording belongs.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Sets the artist who performed this music recording.
Parameters | |
---|---|
artist |
MusicGroupBuilder :
The artist who performed the music recording.
|
Returns | |
---|---|
MusicRecordingBuilder |
Sets the duration of the item in seconds.
Parameters | |
---|---|
durationInSeconds |
int :
The duration of the item in seconds.
|
Returns | |
---|---|
MusicRecordingBuilder |
Sets the album to which this recording belongs.
Parameters | |
---|---|
musicAlbum |
MusicAlbumBuilder :
The album to which this recording belongs.
|
Returns | |
---|---|
MusicRecordingBuilder |
Sets the playlist to which this recording belongs.
Parameters | |
---|---|
musicPlaylists |
MusicPlaylistBuilder :
The playlists to which this recording belongs.
|
Returns | |
---|---|
MusicRecordingBuilder |