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

RemoteControlConfig
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

customReceiverConfig
Link copied to clipboard
var customReceiverConfig: Map<String, String?>
A Map containing custom configuration values that are sent to the remote control receiver.
isCastEnabled
Link copied to clipboard
var isCastEnabled: Boolean = true
Whether casting is enabled.
receiverStylesheetUrl
Link copied to clipboard
var receiverStylesheetUrl: String? = null
A URL to a CSS file the receiver app loads to style the receiver app.
sendDrmLicenseRequestsWithCredentials
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.
sendManifestRequestsWithCredentials
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.
sendSegmentRequestsWithCredentials
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.

Inherited functions

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