Builder
Constructors
Functions
build
Link copied to clipboard
Construct a new AdaptrPlayer with previously configured options.
set Availability Listener
Link copied to clipboard
fun setAvailabilityListener(availabilityListener: AvailabilityListener): AdaptrPlayer.Builder
Content copied to clipboard
Set optional AvailabilityListener to be notified when player is ready or not.
set Client Id
Link copied to clipboard
Optionally provide a client id to the player that was previously retrieved from clientId.
set Create New Client Id
Link copied to clipboard
fun setCreateNewClientId(createNewClientId: Boolean): AdaptrPlayer.Builder
Content copied to clipboard
When true, the newly built player will create and persist a new client id, rather than use the one currently persisted on the device
set Mock Location
Link copied to clipboard
Mock a new location for testing purposes. DO NOT USE IN PRODUCTION