MSG-WB-MESSAGE-RECEIVED

Indicates that a message was received from the Web page. The three types of messages are:
  • Source
  • JSON
  • String
The event-data-1 is 0, and event-data-2 is a flag indicating which was received. This is a bit field because more than one type of message can be received at one time.

W2F-HAVE-SOURCE (value 1) is set when the source is queryable.

W2F-HAVE-JSON (value 2) is set when the JSON string is queryable.

W2F-HAVE-STRING (value 4) is set when the string is queryable.

A value of 7 means you can query any of them, and a value of 5 means, for example, that you can query the source and the string.