تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
بعد اكتساب فهم عام لميزة Cast والأنواع المختلفة من أجهزة الإرسال والاستقبال والأنظمة الأساسية المتوافقة (راجع نظرة عامة على حزمة SDK الخاصة بالإرسال)، أصبحت جاهزًا لبدء تطوير التطبيقات باستخدام حزمة SDK.
التحضير لتطوير Google Cast
وصِّل جهاز البث وأكمل تعليمات الإعداد.
بالنسبة إلى الأجهزة التي تعمل بتكنولوجيا Google Cast:
افتح تطبيق Google Home على جهاز Sender واتّبِع
إرشادات الإعداد لجهازك أو راجِع صفحة دعم تطبيق Google Home
التي تحتوي على روابط لضبط تعليمات الإعداد الخاصة بجميع الأجهزة
التي تعمل بتكنولوجيا Google Cast.
بالنسبة إلى الأجهزة الأخرى التي تعمل بتكنولوجيا Google Cast، يُرجى الرجوع إلى تعليمات الإعداد
الخاصة بالشركة المصنّعة.
سجِّل جهازك الذي يعمل بتكنولوجيا Google Cast من خلال
وحدة تحكم مطوّري برامج Google Cast SDK
(هذا الإجراء مطلوب لاستخدام الجهاز في الاختبار).
لا تحاول تسجيل جهازك في وحدة تحكم مطوّري البرامج بدون إكمال الخطوة السابقة أولاً.
راجع المواد التمهيدية على النظام الأساسي المحدد ونوع التطبيق
الذي تقوم بتنفيذه:
بالنسبة إلى أجهزة Chromecast، بما في ذلك "Chromecast مع Android TV" وأجهزة العرض التي تعمل باللمس،
يمكنك الاطّلاع على Android TV مع Google Cast.
بالنسبة إلى Google Cast للأجهزة الصوتية، راجع الأجهزة الصوتية.
حدِّد نوع جهاز الاستقبال الذي تريد استخدامه.
احصل على مكتبات واجهة برمجة التطبيقات الخاصة بتطبيقَي "المُرسِل" و"المستلِم" التي تنوي تطويرها:
يمكنك تجربة نماذج التطبيقات
والدروس التطبيقية حول الترميز. تتضمّن نماذج التطبيقات رمزًا برمجيًا صالحًا يمكن تجميعه وتنفيذه،
بينما تقدّم الدروس التطبيقية حول الترميز تجربة موجَّهة وعملية للترميز مع تعليمات تفصيلية.
فهم عملية التطوير
في هذه المرحلة، أنت مستعد للبدء في العمل الحقيقي لتطوير تطبيق Cast.
يتم تضمين رموز البث في واجهة مستخدم زر البث على كل نظام أساسي وكذلك في مكتبة v7mediarouter في Android.
إذا كنت تستخدم زر بث مخصصًا وتحتاج إلى إضافة رموز
البث يدويًا،
فإنها متاحة للتنزيل
بشكل منفصل. يتضمّن أرشيف ZIP هذا إصدارات Android و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."]]