Player
This is the Player that will be used by apps.
Parameters
An Application to use.
A CredentialsProvider from the Auth SDK.
An EventSender from the EventProducer SDK.
The decoding mode to use for audio. See AudioDecodingMode for more info.
A function that supplies a userClientId used for event tracking. This value needs to be taken from the session. Internal use only.
The parameters to configure different values for player buffer functionalities.
The parameters to configure different values for player asset timeouts.
A CacheProvider that decides if Player should use internal or external cache.
Sets initial offline mode property.
A Boolean that describes if this instance is debuggable, or not.
An OkHttpClient that internal logic will use as a reference to build upon. Use this if you want to share your application's OkHttpClient with us, which is recommended by OkHttpClient.
An implementation to differentiate the way in which items can be streamed. Internal use only.
A means of supporting offline streaming when appropriate. Internal use only.
The version of the app, used for event tracking. Defaults to 1.0.0.
Constructors
Functions
Releases any remaining resources held exclusively by this Player instance and stops any running threads that are specific to it. This instance must not be used after calling this method; instead, create any number of new instances if you need one again later on.