updateTrack

abstract fun updateTrack(update: PlayerUpdateTrack): PlayerUpdateBuilder

Allows you to set the track via the TrackUpdateBuilder. To stop the player, you can use stopTrack or setTrack with a null track.

Return

The updated builder, useful for chaining

Parameters

update

the update params created via the TrackUpdateBuilder.


Deprecated

Just call .build on the builder

Replace with

setTrack(update.build())

Allows you to set the track via the TrackUpdateBuilder. To stop the player, you can use stopTrack or setTrack with a null track.

Return

The updated builder, useful for chaining

Parameters

update

the update params created via the TrackUpdateBuilder.