ios - Display a receiver device's status when not connected -
in order follow design checklist, i'm trying display status of cast device in cast menu when not connected.
each receiver in list shows state below name. receiver state device model when idle (e.g. chromecast) , status when connected (e.g. "casting youtube").
getting model device easy modelname
property of gckdevice
wonder if there easy way status without having connect device first. ideas?
there nothing need on sender side; sdk should populate appropriate information; first line of each route name , second line contain information "receiver" of running app provides (application status). if want recevier provide information, make sure receiver contains castreceivermanager.setapplicationstatus("your_receiver_status")
"your_receiver_status"
"playing buck bunny". if receiver doesn't provide info, sdk populate second line type of receiver, example "chormecast"; due privacy concerns, sdk doesn't try figure out playing there on own (even if possible do).
you may want take @ g+ post.
Comments
Post a Comment