com.bitmovin.player.api.network

com.bitmovin.player.api.network

Types

NameSummary
HttpRequestopen class HttpRequest
Represents an HTTP request.
HttpRequestTypeenum HttpRequestType : Enum<HttpRequestType>
Available HTTP request types.
HttpResponsedata class HttpResponse(val httpRequest: HttpRequest, val url: String, val status: Int, val headers: Map<String, String>, var body: ByteArray)
NetworkConfigdata class NetworkConfig(var preprocessHttpRequestCallback: PreprocessHttpRequestCallback? = null, var preprocessHttpResponseCallback: PreprocessHttpResponseCallback? = null, val retryHttpRequestConfig: RetryHttpRequestConfig = RetryHttpRequestConfig.LinearIncreasingBackoffRetry) : Parcelable
The network configuration gives the ability to influence network requests. It enables preprocessing requests and processing responses.
PreprocessHttpRequestCallbackfun interface PreprocessHttpRequestCallback
Can be used to change request parameters before a request is made.
PreprocessHttpResponseCallbackfun interface PreprocessHttpResponseCallback
Can be used to the access or change properties of the response before it gets into the player.
RetryHttpRequestConfigsealed interface RetryHttpRequestConfig