Android TV OS 支援數百萬台電視、串流裝置和付費電視機上盒。
Google TV 是全新的服務,目前僅適用於 Chromecast (支援 Google TV),日後將支援更多裝置。
所有為 Android TV 打造的應用程式都適用於 Google TV 裝置。為提供最佳 Google TV 使用體驗,建議您採用本指南的最佳做法。
基本規定
支援 Google Cast:透過 Google Cast,您可以擴充 Android、iOS 和 Chrome 應用程式,在 Android TV、Chromecast 裝置和 Google 助理裝置上串流播放音訊和影片。詳情請參閱 Google Cast 說明文件。
使用媒體工作階段:媒體工作階段提供與音訊或影片播放器互動的通用方式。當應用程式通知 Android 正在播放媒體時,播放控制項可以委派給應用程式。整合媒體工作階段可讓應用程式在外部通告媒體播放情形,並接收來自外部來源的播放指令。這些來源可以是實體按鈕,例如耳機或電視遙控器上的播放按鈕,也可以是間接指令,例如對 Google 助理下達「暫停」指令。媒體工作階段接著會將這些指令委派給應用程式,應用程式會將指令套用至指令來源的媒體播放器。詳情請參閱「使用媒體工作階段」。
在各個平台探索內容
提供媒體動作動態消息:將 JSON 媒體動作動態消息提供給 Google 後,使用者就能透過 Google TV 推薦內容和其他 Google 服務 (例如 Google 搜尋) 找到你的內容。您提供的深層連結可讓使用者直接播放內容,進而提高參與度。動態消息也支援裝置端搜尋,以及使用 Google 助理語音指令播放媒體。
整合「接下來請看」:「接下來請看」功能可讓使用者重新觀看應用程式中的內容。如果使用者在觀看電影或電視節目時中途離開應用程式,您可以透過「接下來請看」功能,直接在 Google TV 主畫面顯示該內容。使用者可以選取動態磚,直接深層連結至應用程式內的播放畫面。請注意,如要在 Google TV 裝置上顯示「待觀看內容」整合功能,必須先通過品質認證。詳情請參閱「稍後觀看」說明文件。
語氣和參與度
支援帳戶連結:帳戶連結功能可讓使用者輕鬆連結 Google 帳戶和應用程式帳戶,為現有和新使用者提供流暢的應用程式體驗。帳戶連結是其他功能 (例如無阻礙訂閱、授權同步和語音投放) 的先決條件。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Best practices to drive engagement on Google TV\n\nAndroid TV OS powers millions of TVs, streaming devices, and PayTV set-top boxes.\nGoogle TV is a brand-new experience available first on the Chromecast with\nGoogle TV and to more devices over time.\n\nAll apps built for Android TV work on devices running Google TV. To\nprovide the best user experience on Google TV, we recommend that you\napply the best practices in this guide.\n| **Note:** To ensure a great user experience, all TV apps must meet specific requirements for usability before they are available for TVs on Google Play. For more information, see [TV app quality](/docs/quality-guidelines/tv-app-quality).\n\nBaseline requirements\n---------------------\n\n- **Support Google Cast:** Google Cast lets you extend your Android, iOS, and Chrome apps to enable audio and video streaming to Android TVs as well as Chromecast devices and Assistant devices. For more information, see the [Google Cast\n documentation](https://developers.google.com/cast/docs/developers).\n- **Use media sessions:** media sessions provide a universal way of interacting with an audio or video player. When an app informs Android that it is playing media, playback controls can be delegated to the app. Integrating with the media session lets an app advertise media playback externally and receive playback commands from external sources. These sources can be physical buttons, such as the play button on a headset or TV remote control, or indirect commands, such as instructing \"pause\" to Google Assistant. The media session then delegates these commands to the app, which applies them to the media player where the commands originated. See [Using a media session](/guide/topics/media-apps/working-with-a-media-session) for more details.\n\nContent discovery across surfaces\n---------------------------------\n\n- **Offer a media actions feed:** when you provide a JSON media actions feed to Google,\n your content can be discovered through Google TV recommendations and\n other Google surfaces, such as Google Search. The deep links you provide let\n users jump directly into playback of your content to increase engagement. The\n feed also enables on-device search and the ability to play media using Google\n Assistant voice commands.\n\n Google is working with a limited number of\n providers at a time to integrate them into this feature. For more details,\n see the\n [Media Actions documentation](https://developers.google.com/actions/media).\n- **Integrate Watch Next:** Watch Next lets users re-engage with the content in your\n app. When users leave your app partway through a movie or with a TV series in\n progress, you can surface that content directly on the Google TV home screen\n using Watch Next. The user can select a tile to deep link directly\n into playback within your app. Note that a Watch Next integration must be\n certified for quality to show on Google TV devices. See the [Watch Next\n documentation](/training/tv/discovery/watch-next-add-programs) for more details.\n\nVoice and engagement\n--------------------\n\n- **Support account linking:** account linking provides seamless linking between a user's Google Account and your app's account to facilitate a streamlined user experience for your app's existing and new users. [Account\n linking](https://developers.google.com/identity/account-linking) is a prerequisite for other capabilities such as frictionless subscriptions, entitlement sync, and voice casting.\n- **Support entitlement sync:** if your media actions feed includes media with entitlement requirements---for example, a user needs to have a particular subscription to access content---you can support entitlement sync to declare which subscriptions a linked account has. See the [entitlements endpoint\n documentation](https://developers.google.com/actions/media/concepts/access-requirements#entitlements-endpoint) for more details.\n- **Offer voice casting:** voice casting lets your users initiate media playback on supported Cast devices through Google Assistant. You can enable this functionality by providing a [media actions](https://developers.google.com/actions/media) feed, supporting [account linking](https://developers.google.com/identity/account-linking/oauth-with-sign-in-linking?oauth=implicit), and creating a [Cast receiver](https://developers.google.com/cast/docs/developers).\n- **Enable Cast Connect:** with Cast Connect, your Android TV app can act as a Cast receiver. This lets you provide a richer experience and support interaction with the remote control. See the [Android TV Receiver Overview](https://developers.google.com/cast/docs/android_tv_receiver) for more details.\n\nUser acquisition\n----------------\n\n- **Integrate Google Play Billing:** use the Play Billing library to support in-app purchases and manage subscriptions across both mobile and TV. See the [billing\n documentation](/google/play/billing) for more details.\n- **Provide frictionless subscriptions:** by combining [streamlined account linking](https://developers.google.com/identity/account-linking/oauth-with-sign-in-linking?oauth=implicit), [Play Billing](/google/play/billing) with [real time developer notifications](/google/play/billing/getting-ready#configure-rtdn), and [silent sign-in](https://developers.google.com/android/reference/com/google/android/gms/auth/api/signin/GoogleSignInClient.html#silentSignIn%28%29), you can provide a seamless purchase experience for your users. Watch the [Frictionless Subscriptions video](https://www.youtube.com/watch?v=ARuf97ncE4w&list=PLWz5rJ2EKKc-Z8NeBXJkf1bzUVhx3fvh4&index=4) for more details.\n\nGoogle TV feature evaluation\n----------------------------\n\nAn app built for Android TV OS works for all the devices in the TV ecosystem,\nincluding new Google TV branded devices. To know whether a device\noffers the Google TV experience, for instance for analytics, you can\n[evaluate or\nfilter](/guide/topics/manifest/uses-feature-element#market-feature-filtering)\non the system feature `com.google.android.feature.AMATI_EXPERIENCE`."]]