setAvailabilityListener

fun setAvailabilityListener(availabilityListener: AvailabilityListener): AdaptrPlayer.Builder

Set optional AvailabilityListener to be notified when player is ready or not.

Return

this builder, for chaining

Parameters

availabilityListener

to be notified when player is ready or not