apply

abstract fun apply(    seq: String?,     req: String?,     arg: Pointer? = Pointer.NULL)

The callback function

You should use webview_return to response to the JS

Parameters

seq

the id of request

req

request string is a JSON array of all the arguments passed to the JavaScript function.

arg

please ignore it and keep it Pointer.NULL unless you know what you're doing.