setTrack

abstract fun setTrack(track: Track?): PlayerUpdateBuilder

Shortcut for setting the encoded track. This will also send any user-data supplied. Please keep in mind that this will set the position field to the current position of the track.

Return

The updated builder, useful for chaining

Parameters

track

The track to apply to this builder