cast. 框架。 事件。 RequestEvent
class static
代表向接收器发出的请求的所有事件的事件数据。
构造函数
请求事件
new RequestEvent(type, requestData, sendId)
参数 |
|
---|---|
类型 |
cast.framework.events.EventType 值不能为 null。 |
请求数据 |
选填 cast.framework.messages.RequestData 值不能为 null。 |
发送者 ID |
选填 字符串 |
属性
请求数据
常量
(非 null cast.framework.messages.RequestData 或未定义)
随请求一起发送的数据。
发送者 ID
常量
(字符串或未定义)
请求的来源发送者 ID。