2014-01-22 82 views
0

只是一個簡單的問題...Chromecast在Chromecast按鈕推送時啓動另一個Web服務?

I haven't dived into the chromecast docs yet 
    but can someone lend some knowledge, that's probably 
    already out there. 

    When a chromecast icon is pressed within an application is there anyway 
    either from thirdparty apps or my own, have muliple http requests executed 
    so that the chromecast is activated and some other process is started via 
    web services aswell? 

謝謝

回答

0

是,作爲發件人的應用程序,一旦用戶與按鈕交互,你可以做任何你想要的開發商。該按鈕是您的應用程序的一部分,因此可以將消息發送到Web服務。

請查閱文檔:https://developers.google.com/cast/developing_a_sender以瞭解關於一切工作原理的更多詳細信息。

+0

感謝您推向正確的方向。我現在看到,chromecast只是在活動/應用程序內部進行交互的另一件事。一個非常物質的東西,但在代碼內部與另一個「事物」進行交流。謝謝! – sirvon

+0

當然,隨時接受答案 – brwngrldev