onMessageReceived

open override fun onMessageReceived(castDevice: CastDevice, namespace: String, message: String)

Called when a message is received from a given CastDevice

Parameters

castDevice

The CastDevice from which the message originated.

namespace

The namespace of the received message.

message

The received payload for the message.