Wearable Only Camera KitReadonly Wearable Only Camera KitdataThe data received from the server. For binary messages, this is of type Blob. For text messages, this is a string.
Readonly Wearable Only Camera KittypeThe type of the data received, text or binary, returned as a string.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Event type for WebSocket message events. This event fires when a message has been received from the server. Listen for this event by using
addEventListenerwithmessage, or by setting theonmessageproperty.See
Used By: WebSocket#onmessage
Example