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