sendMessage

abstract fun sendMessage(name: String, info: String)

Sends a message to the application.

The app will receive the message using the AdEventListener and AdEventType.RendererMessageReceived. Can be called when you want to pass a message from the renderer that the application needs to process somehow.

Parameters

name

The name of the message.

info

The message related to the event.