sendMetadata
Deprecated
Serialization of unknown objects might lead to undefined behaviour. Use sendMessage(String) instead
Sends the given metadata wrapped in a metadata message object to the cast receiver on the configured message namespace. The provided metadata must be json serializable. Note: Must be called from the main thread!
Return
true
if the message could be sent successfully.
Deprecated
Serialization of unknown objects might lead to undefined behaviour. Use sendMessage(String) instead.
Parameters
metadata
The metadata to send