با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
با داشتن درک کلی از Cast، انواع مختلف فرستنده و گیرنده، و پلتفرمهایی که پشتیبانی میشوند (به نمای کلی Cast SDK مراجعه کنید)، آماده شروع توسعه برنامهها با استفاده از Cast SDK هستید.
برای توسعه Cast آماده شوید
دستگاه Cast خود را وصل کنید و دستورالعملهای راهاندازی را تکمیل کنید.
برنامه Google Home را در دستگاه فرستنده خود باز کنید و فرمانهای راهاندازی دستگاه خود را دنبال کنید یا به صفحه پشتیبانی برنامه Google Home که پیوندهایی به دستورالعملهای راهاندازی برای همه دستگاههای دارای Google Cast فعال دارد، مراجعه کنید.
برای سایر دستگاههای دارای Cast، لطفاً به دستورالعملهای راهاندازی سازنده مراجعه کنید.
دستگاه دارای قابلیت Cast خود را در کنسول برنامهنویس Google Cast SDKثبت کنید ( این مورد برای استفاده از دستگاه برای آزمایش لازم است ). بدون انجام مرحله قبل، سعی نکنید دستگاه خود را در Developer Console ثبت کنید.
مطالب مقدماتی را در پلتفرم خاص و نوع برنامه ای که در حال پیاده سازی هستید مرور کنید:
برای دستگاههای Chromecast، از جمله Chromecast با Android TV و دستگاههای نمایشگر لمسی، Android TV با Google Cast را ببینید.
برای Google Cast برای دستگاههای صوتی، به دستگاههای صوتی مراجعه کنید.
تصمیم بگیرید که از کدام نوع گیرنده استفاده کنید.
کتابخانههای API را برای برنامههای فرستنده و گیرنده که میخواهید توسعه دهید دریافت کنید:
نمونه برنامه ها و Codelabs را امتحان کنید. برنامه های نمونه دارای کد کاری هستند که می تواند کامپایل و اجرا شود، در حالی که لبه های کد یک تجربه کدنویسی هدایت شده و عملی را با دستورالعمل های گام به گام ارائه می دهند.
فرآیند توسعه را درک کنید
در این مرحله، شما آماده هستید تا وارد کار واقعی توسعه یک برنامه Cast شوید.
نمادهای Cast در رابط کاربری Cast Button در هر پلتفرم و همچنین در کتابخانه Android v7mediarouter گنجانده شده است. اگر در حال اجرای یک دکمه Cast سفارشی هستید و باید نمادهای Cast را به صورت دستی اضافه کنید، آنها برای دانلود جداگانه در دسترس هستند. این آرشیو فشرده شامل نسخه هایی برای اندروید، iOS و وب است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\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."]]