Event raised when a JSON message is received from a SmartGlass device.
public:
event TypedEventHandler<SmartGlassHtmlSurface^ , SmartGlassMessageReceivedEventArgs^ >^ MessageReceived {
EventRegistrationToken add (TypedEventHandler<SmartGlassHtmlSurface^ , SmartGlassMessageReceivedEventArgs^ >^ value);
void remove (EventRegistrationToken token);
}
The maximum size of the message is 65,532 bytes. Although the strings that the device sends use either UTF-32 or UTF-16 encoding depending on the platform, the messages are converted to UTF-8 encoding for transmission across the network. The size limit applies to the UTF-8 encoded format of the string.
Namespace: Windows.Xbox.SmartGlass
Metadata: windows.winmd