Client Id Listener
interface ClientIdListener
Content copied to clipboard
When a request is made to createNewClientId, this listener will be given the new client or notified when an error prevented a new id from being created.
Functions
on Client Id
Link copied to clipboard
After a new client id has been successfully created and setClientId has been called with it, this method will be called to pass on the new client id.
on Error
Link copied to clipboard
abstract fun onError()
Content copied to clipboard
If the SDK is unable to contact the Adaptr servers to get a new client id, this method will be called. When this method is called, the player is still using the original client id. The only reason for the failure to get a new client id is loss of network connectivity - and the client app can determine when and whether to retry the request.