RemoteControlConfig

data class RemoteControlConfig(receiverStylesheetUrl: String?, customReceiverConfig: Map<String, String?>, isCastEnabled: Boolean, sendManifestRequestsWithCredentials: Boolean, sendSegmentRequestsWithCredentials: Boolean, sendDrmLicenseRequestsWithCredentials: Boolean) : Parcelable

Configures the remote receiver app.

Constructors

Link copied to clipboard
fun RemoteControlConfig(receiverStylesheetUrl: String? = null, customReceiverConfig: Map<String, String?> = emptyMap(), isCastEnabled: Boolean = true, sendManifestRequestsWithCredentials: Boolean = false, sendSegmentRequestsWithCredentials: Boolean = false, sendDrmLicenseRequestsWithCredentials: Boolean = false)

Properties

Link copied to clipboard
var customReceiverConfig: Map<String, String?>

A Map containing custom configuration values that are sent to the remote control receiver. Default value is an empty Map.

Link copied to clipboard
var isCastEnabled: Boolean = true

Whether casting is enabled. Default value is true.

Link copied to clipboard
var receiverStylesheetUrl: String? = null

A URL to a CSS file the receiver app loads to style the receiver app. Default value is null, indicating that the default CSS of the receiver app will be used.

Link copied to clipboard
var sendDrmLicenseRequestsWithCredentials: Boolean = false

Indicates whether cookies and credentials will be sent along DRM licence requests on the cast receiver Default value is false.

Link copied to clipboard
var sendManifestRequestsWithCredentials: Boolean = false

Indicates whether cookies and credentials will be sent along manifest requests on the cast receiver Default value is false.

Link copied to clipboard
var sendSegmentRequestsWithCredentials: Boolean = false

Indicates whether cookies and credentials will be sent along segment requests on the cast receiver Default value is false.