| java.lang.Object | |
| ↳ | android.webkit.WebMessage |
The Java representation of the HTML5 PostMessage event. See https://html.spec.whatwg.org/multipage/comms.html#the-messageevent-interfaces for definition of a MessageEvent in HTML5.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a WebMessage.
| |||||||||||
Creates a WebMessage.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the data of the message.
| |||||||||||
Returns the ports that are sent with the message, or null if no port
is sent.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a WebMessage.
| data | the data of the message. |
|---|
Creates a WebMessage.
| data | the data of the message. |
|---|---|
| ports | the ports that are sent with the message. |
Returns the ports that are sent with the message, or null if no port is sent.