ScriptMessageReply

class ScriptMessageReply(pointer: <Error class: unknown class><<Error class: unknown class>>)

A reply for a script message received. If no reply has been sent by the user, an automatically generated reply with undefined value with be sent.

Since

2.40

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val webkitScriptMessageReplyPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Atomically increments the reference count of @script_message_reply by one.

Link copied to clipboard
fun returnErrorMessage(errorMessage: String)

Reply to a script message with an error message.

Link copied to clipboard
fun returnValue(replyValue: <Error class: unknown class>)

Reply to a script message with a value.

Link copied to clipboard
fun unref()

Atomically decrements the reference count of @script_message_reply by one.