JsMessageHandler

Properties

Link copied to clipboard
abstract val allowedDomains: List<String>

List of domains where we can process the message

Link copied to clipboard
abstract val featureName: String

Name of the feature

Link copied to clipboard
abstract val methods: List<String>

List of the methods the handler can handle

Functions

Link copied to clipboard
abstract fun process(jsMessage: JsMessage, secret: String, jsMessageCallback: JsMessageCallback?)

This method processes a JsMessage and can return a JsRequestResponse to reply to the message if needed