pl.wendigo.chrome.api.cast / EnableRequest

EnableRequest

data class EnableRequest (source)

Represents request frame that can be used with Cast#enable operation call.

Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well. When sinks are found, a |sinksUpdated| event is fired. Also starts observing for issue messages. When an issue is added or removed, an |issueUpdated| event is fired.

Link
Cast#enable method documentation.

See Also

CastOperations.enable

Constructors

<init>

EnableRequest(presentationUrl: String? = null)

Represents request frame that can be used with Cast#enable operation call.

Properties

presentationUrl

val presentationUrl: String?