Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Dibekali dengan pemahaman umum tentang Cast, berbagai jenis Pengirim
dan Penerima, serta platform yang didukung (lihat
Ringkasan Cast SDK), Anda siap untuk mulai mengembangkan aplikasi
menggunakan SDK Cast.
Mempersiapkan pengembangan Cast
Hubungkan perangkat Transmisi dan selesaikan petunjuk penyiapan.
Untuk perangkat yang kompatibel untuk Google Cast:
Buka aplikasi Google Home di perangkat Pengirim dan ikuti
perintah penyiapan untuk perangkat, atau buka halaman dukungan aplikasi Google Home
yang berisi link ke petunjuk penyiapan untuk semua perangkat yang
mendukung Google Cast.
Untuk perangkat lainnya yang kompatibel untuk Cast, lihat petunjuk penyiapan
produsen.
Daftarkan perangkat yang kompatibel untuk Cast di
Konsol Developer Google Cast SDK
(diperlukan agar perangkat dapat digunakan untuk pengujian).
Jangan mencoba mendaftarkan perangkat pada Konsol Pengembang tanpa menyelesaikan langkah sebelumnya terlebih dahulu.
Tinjau materi pengantar tentang platform dan jenis aplikasi tertentu
yang Anda terapkan:
Untuk perangkat Chromecast, termasuk Chromecast dengan Android TV dan perangkat
layar sentuh, lihat Android TV dengan Google Cast.
Untuk mengetahui informasi tentang Google Cast untuk perangkat audio, lihat Perangkat Audio.
Tentukan jenis Penerima yang ingin Anda gunakan.
Dapatkan library API untuk aplikasi Pengirim dan Penerima yang ingin Anda kembangkan:
Cobalah Aplikasi Contoh
dan Codelabs. Aplikasi contoh menampilkan kode yang berfungsi yang dapat
dikompilasi dan dijalankan, sedangkan codelab memberikan pengalaman coding langsung
yang dipandu dengan petunjuk langkah demi langkah.
Memahami proses pengembangan
Pada tahap ini, Anda siap untuk mengerjakan pekerjaan nyata pengembangan aplikasi Cast.
Berikut adalah langkah-langkah yang harus Anda ikuti:
Ikon Cast disertakan dalam UI Tombol Cast di setiap platform serta di
library
v7mediarouter
Android.
Jika Anda menerapkan tombol Cast kustom dan perlu menambahkan
ikon Cast secara manual, ikon tersebut akan tersedia untuk didownload
secara terpisah. Arsip zip ini mencakup versi untuk Android, iOS, dan Web.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eSet up your Cast device and register it on the Google Cast SDK Developer Console before starting development.\u003c/p\u003e\n"],["\u003cp\u003eChoose the type of Receiver you'll use and get the necessary API libraries for your Sender and Receiver apps (Web, iOS, or Android).\u003c/p\u003e\n"],["\u003cp\u003eFamiliarize yourself with the development process, including app registration, UX guidelines, and testing procedures.\u003c/p\u003e\n"],["\u003cp\u003eInstall the required API libraries and configure your development environment using provided instructions.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, download Cast icons if implementing custom Cast buttons in your application.\u003c/p\u003e\n"]]],[],null,["# Get Started\n\nEquipped with a general understanding of Cast, the different types of Senders\nand Receivers, and which platforms are supported (see\n[Cast SDK Overview](/cast/docs/overview)), you're ready to begin developing apps\nusing the Cast SDK.\n\nPrepare for Cast development\n----------------------------\n\n1. Connect your Cast device and complete the setup instructions.\n\n 1. For Google Cast-enabled devices:\n\n 1. [Download the Google Home app from the Google Play Store](https://play.google.com/store/apps/details?id=com.google.android.apps.chromecast.app) to an\n Android Sender device\n\n or [download the Google Home app from the Apple App Store](https://apps.apple.com/tc/app/google-home/id680819774)\n to an iOS Sender device.\n 2. Open the Google Home app on your Sender device and follow the\n setup prompts for your device, or consult the [Google Home app support page](https://support.google.com/googlenest/answer/7071794)\n which has links to setup instructions for all Google Cast-enabled\n devices.\n\n 2. For other Cast-enabled devices, please refer to the manufacturer's setup\n instructions.\n\n | **Note:** You must set up your Cast-enabled device and link it to a user account before you attempt to register it on the Developer Console in the next step.\n2. [Register](/cast/docs/registration#devices) your Cast-enabled device at the\n [Google Cast SDK Developer Console](https://cast.google.com/publish/#/overview)\n (**this is required in order to use the device for testing**).\n Do not attempt to register your device on the Developer Console without first completing the previous step.\n\n3. Review the introductory materials on the specific platform and type of app\n you're implementing:\n\n 1. For Chromecast devices, including Chromecast with Android TV and touch display devices, see [Android TV with Google Cast](/cast/docs/android_tv).\n 2. For Google Cast for audio devices, see [Audio Devices](/cast/docs/audio).\n4. Decide which type of Receiver you intend to use.\n\n5. Get the API libraries for the Sender and Receiver apps you intend to develop:\n\n | App Type | Web | iOS | Android |\n |----------|:---------------------------------------------------------------------:|:-----------------------------------------------:|:-----------------------------------------------------------------------------------------:|\n | Sender | [Web Sender](/cast/docs/web_sender#setup) | [iOS Sender](/cast/docs/ios_sender#xcode_setup) | [Android Sender](/cast/docs/android_sender#prerequisites) |\n | Receiver | [Web Receiver](/cast/docs/web_receiver/basic#google_web_receiver_sdk) | n/a | [Android TV Receiver](/cast/docs/android_tv_receiver/core_features#configuring_libraries) |\n [API library setup instructions]\n\n \u003cbr /\u003e\n\n6. Try out the [Sample Apps](/cast/docs/sample_apps)\n and [Codelabs](/cast/codelabs). The sample apps feature working code that can\n be compiled and executed, while the codelabs provide a guided, hands-on coding\n experience with step-by-step instructions.\n\nUnderstand the development process\n----------------------------------\n\nAt this point, you're ready to get into the real work of developing a Cast app.\n\nBelow are the steps you need to follow:\n\n1. [Register](/cast/docs/registration) your Web and Android TV Receiver apps through the [Google Cast SDK Developer Console](https://cast.google.com/publish/#/overview).\n2. Review the [User Experience Guidelines](/cast/docs/ux_guidelines) to learn how to implement a UI that's consistent with other Cast apps.\n3. Review the [Google Cast app development guides](/cast/docs/overview#apidocs_table).\n4. Review the [API references](/cast/docs/reference).\n5. Develop your Web and/or Android TV Receiver apps.\n6. Regardless of the type of Web Receiver you plan to use, you will:\n 1. Develop your Sender app(s).\n 2. [Test](/cast/docs/testing) your Sender app(s).\n 3. [Test](/cast/docs/testing) your Sender app(s) with your Receiver app(s).\n\nInstall API libraries and configure your toolchain\n--------------------------------------------------\n\n| **Caution:** By accessing download links in the guides, you indicate that you have read and accepted the [Google APIs Terms of Service](https://developers.google.com/terms) and the [Google Cast SDK Additional Developer Terms of Service](/cast/docs/terms).\n\nFollow the instructions for each API that your apps will use:\n\n| | Web | iOS | Android |\n|----------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|\n| Sender | |-------------------------------------------------------------------------| | [Setup for Developing with the Cast Application](/cast/docs/web_sender) | | [Web Sender API Reference](/cast/docs/reference/web_sender) | | |-------------------------------------------------------------------------------------------------| | [Setup for Developing With the Cast Application Framework (CAF) for iOS](/cast/docs/ios_sender) | | [iOS API Reference](/cast/docs/reference/ios) | | |---------------------------------------------------------------------------------------------------------| | [Setup for Developing with the Cast Application Framework (CAF) for Android](/cast/docs/android_sender) | | [Android API Reference](/android/reference/com/google/android/gms/cast/package-summary) | |\n| Receiver | |----------------------------------------------------| | [Web Receiver Overview](/cast/docs/web_receiver) | | [Web API Reference](/cast/docs/caf_receiver/basic) | | n/a | |--------------------------------------------------------------------------------------------| | [Android TV Receiver Overview](/cast/docs/android_tv_receiver) | | [Android API Reference](/android/reference/com/google/android/gms/cast/tv/package-summary) | |\n| n/a |\n\nDownload Cast icons (optional)\n------------------------------\n\nThe Cast icons are included in the Cast Button UI on each platform as well as in\nthe Android\n[v7mediarouter](http://developer.android.com/tools/support-library/features.html#v7-mediarouter)\nlibrary.\nIf you're implementing a custom Cast button and you need to manually add the\nCast icons, they are available to [download](/static/cast/downloads/cast_icon_material.zip)\nseparately. This zip archive includes versions for Android, iOS, and Web."]]