Widget Post APIMediator
Types
Functions
Link copied to clipboard
This clear the mediator by removing the JavaScript Interface and cleaning references.
Link copied to clipboard
Send a boolean response.
Link copied to clipboard
Send an integer response.
Link copied to clipboard
abstract fun <T> sendObjectResponse( type: Type, response: T?, eventData: JsonDict)
Content copied to clipboard
Send an object response.
Link copied to clipboard
Send success.
Link copied to clipboard
Set handler to communicate with the widgetPostAPIMediator. Please remove the reference by passing null when finished.
Link copied to clipboard
This initialize the webview to handle. It will add a JavaScript Interface. Please call clearWebView method when finished to clean the provided webview