PlayerMediaRequest

data class PlayerMediaRequest(val uri: String, val xTokenSession: String? = null)

Encapsulates a video URL and headers.

Parameters

uri

The URL to request

xTokenSession

The X-Token-Session value to add in the query or in the headers

Constructors

Link copied to clipboard
constructor(uri: String, xTokenSession: String? = null)

Properties

Link copied to clipboard

Headers to add to the request.

Link copied to clipboard
val uri: String
Link copied to clipboard

URL with the X-Token-Session query parameter.

Link copied to clipboard
val xTokenSession: String? = null