Channel
How the SDK reaches the host; in a page, the parent window. Tests pass their own.
Methods
Section titled “Methods”post()
Section titled “post()”post(
message):void
Sends a message to the host.
Parameters
Section titled “Parameters”message
Section titled “message”Returns
Section titled “Returns”void
listen()
Section titled “listen()”listen(
listener):void
Receives everything that arrives; the SDK picks out the host’s messages.
Parameters
Section titled “Parameters”listener
Section titled “listener”(data) => void
Returns
Section titled “Returns”void