sendEventWithName

Parameters

name

event name.

data

payload, formatted as JSON, that is sent along with the event