cast.
            class   static
            发件人发来的自定义消息。要监听自定义事件,请使用 cast.framework.CastReceiverContext#addCustomMessageListener 方法。
构造函数
消息
new Message(type, senderId, data)
| 参数 | |
|---|---|
| 类型 | string 消息类型。始终为“消息”。 | 
| senderId | string 发送者 ID。 | 
| data | 任意类型 消息载荷。 值不能为 null。 | 
属性
data
常量
              任何非 null 类型
消息载荷。
senderId
常量
              string
发送者 ID。
类型
消息类型。始终为“消息”。