RemoteControlConfig

data class RemoteControlConfig(var receiverStylesheetUrl: String? = null, var customReceiverConfig: Map<String, String?> = emptyMap(), var isCastEnabled: Boolean = true, var sendManifestRequestsWithCredentials: Boolean = false, var sendSegmentRequestsWithCredentials: Boolean = false, var sendDrmLicenseRequestsWithCredentials: Boolean = false, var onConfigureMediaInfo: ConfigureMediaInfoCallback? = null) : Parcelable

Configures the remote receiver app.

Constructors

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

Properties

Link copied to clipboard

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

Link copied to clipboard

Whether casting is enabled. Default value is true.

Link copied to clipboard

Callback providing the possibility to configure the media info object before it is loaded on the cast receiver to change its media/source. Default value is null.

Link copied to clipboard

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

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

Link copied to clipboard

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

Link copied to clipboard

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