Upload
kevin-lucas
View
212
Download
0
Embed Size (px)
Citation preview
touchdevelop api
api: homescript your digital media
Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and Windows Live are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners.
touchdevelop api
digital living roomo media servers provide music, video
and pictureso media players can display those
assetso all connected through the home Wi-Fio touchdevelop acts as a controller
touchdevelop api
apiso Media Player→play home
mediaPlays a media from the home network.
o Player→play home mediaPlays an audio/video file from the home network
o Home→printersGets the printers on the current wireless network
o Home→playersGets the media players on the current wireless network
o Home→serversGets the media servers on the home network
o Home→choose printerChoose a printer on the current wireless network
o Home→choose playerChoose a media player on the current wireless network
o Home→choose serverChoose a media server on the current wireless network
touchdevelop api
server → phoneaction my random video on phone var server := home→choose server var video := server→choose video
player→play home media(video)
touchdevelop api
server → phone → playeraction my random video var server := home→choose server var video := server→choose video home→choose player→play home media(video)
touchdevelop api
server → phone or playeraction my random video var server := home→choose server var video := server→choose video video→post to wall
touchdevelop api
web → phone → playeraction channel 9 videos get the latest video from an RSS stream var link := web→rss(“http://channel9/rss”)→at(0) var pr := home→choose player play it! pr→play media(link→address)
touchdevelop api