Class: RequestEvent

  • RequestEvent is event data for all events representing requests made to the receiver.

  • The RequestEvent constructor takes the event type, request data, and sender ID as parameters.

  • The requestData property provides the data sent with the request.

  • The senderId property indicates the sender's ID from which the request originated.

Constructor

RequestEvent

new RequestEvent(type, requestData, senderId)

Parameter

type

cast.framework.events.EventType

Value must not be null.

requestData

cast.framework.messages.RequestData

Value must not be null.

senderId

string

Properties

requestData

constant

non-null cast.framework.messages.RequestData

The data that was sent with the request.

senderId

constant

string

The sender id the request came from.