CastPlayerChannel
Custom media channel used for message exchange between the Sender and the Receiver Applications.
Functions
Link copied to clipboard
Called when a message is received from a given CastDevice
Link copied to clipboard
fun sendMessage(coroutineScope: CoroutineScope, castSession: CastSession, message: String, messageName: MessageName, namespace: String = DEFAULT_NAMESPACE, messageStatusHandler: (messageName: MessageName, result: Result<String, Error>) -> Unit)
Sends message to the receiver application.