Represents the contents of a single widget data message from the server, with a binary data paylod and exported
objects. Implemented both by Widget itself and by the event.details when data is received by the client.
Terminology note: the name of this type should probably use "Data" instead of "Message", and the methods should use
"payload" rather than "data" to match other platforms and the protobuf itself. These names are instead used for
backwards compatibility and to better follow JS expectations.
Returns an array of exported objects sent from the server. The plugin implementation is now responsible for these
objects, and should close them when no longer needed.
Represents the contents of a single widget data message from the server, with a binary data paylod and exported objects. Implemented both by Widget itself and by the
event.details
when data is received by the client.Terminology note: the name of this type should probably use "Data" instead of "Message", and the methods should use "payload" rather than "data" to match other platforms and the protobuf itself. These names are instead used for backwards compatibility and to better follow JS expectations.