user_message_received


Description:

[ Version ( since = "2.28" ) ]
public virtual signal bool user_message_received (UserMessage message)

This signal is emitted when a UserMessage is received from the WebKitWebPage corresponding to web_view.

You can reply to the message using send_reply.

You can handle the user message asynchronously by calling @ref on message and returning true. If the last reference of message is removed and the message has not been replied to, the operation in the WebKitWebPage will finish with error webkit_user_message_unhandled_message.

Parameters:

message

the UserMessage received

Returns:

true if the message was handled, or false otherwise.