Closed GoogleCodeExporter closed 8 years ago
All the key/value pairs, including the ones that user adds, are serialized and
sent to the receiver; you can open a debug console on your chromecast and see
them in the json payloads that come in.
Original comment by anad...@google.com
on 16 Feb 2014 at 6:42
You are rigth, the key/values are sent to the receiver.
But they are not sent back to the sender, for example accessing metadata
accessed in onMetadataUpdated():
public void onMetadataUpdated() {
...
MediaInfo mediaInfo = mRemoteMediaPlayer.getMediaInfo();
MediaMetadata metadata = mediaInfo.getMetadadata();
metadata.get("custom_key"); // always return null
}
I supposed this is expected behavior, but reading the doc I initially thought
it would be returned back.
Anyway there's getCustomData() that works perfecty for that purpose.
Original comment by pujos.mi...@gmail.com
on 16 Feb 2014 at 7:25
Original issue reported on code.google.com by
pujos.mi...@gmail.com
on 16 Feb 2014 at 2:55