NetworkConfig

data class NetworkConfig(preprocessHttpRequestCallback: PreprocessHttpRequestCallback?, preprocessHttpResponseCallback: PreprocessHttpResponseCallback?) : Parcelable

The network configuration gives the ability to influence network requests. It enables preprocessing requests and processing responses.

Constructors

NetworkConfig
Link copied to clipboard
fun NetworkConfig(preprocessHttpRequestCallback: PreprocessHttpRequestCallback? = null, preprocessHttpResponseCallback: PreprocessHttpResponseCallback? = null)

Properties

preprocessHttpRequestCallback
Link copied to clipboard
var preprocessHttpRequestCallback: PreprocessHttpRequestCallback? = null
The callback which can be used to change request parameters before a request is made.
preprocessHttpResponseCallback
Link copied to clipboard
var preprocessHttpResponseCallback: PreprocessHttpResponseCallback? = null
The callback which can be used to the access or change properties of the response before it gets into the player.

Inherited functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)