संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
जब भी कास्ट बटन दबाया जाता है, तब कास्ट डायलॉग दिखता है. कास्ट डायलॉग की मदद से, उपयोगकर्ता वेब रिसीवर से कनेक्ट कर सकते हैं, उन्हें कंट्रोल कर सकते हैं, और उनसे डिसकनेक्ट कर सकते हैं.
अगर आपको कस्टम तरीके से लागू करने या iOS या Chrome के लिए ऐप्लिकेशन बनाने की ज़रूरत है, तो आपको इस डायलॉग बॉक्स को एक जैसा लागू करना होगा, ताकि उपयोगकर्ताओं को यह पता चल सके कि यह सभी डिवाइसों, ऐप्लिकेशन, और प्लैटफ़ॉर्म पर एक जैसा काम करता है और वे उस पर भरोसा कर सकें. उदाहरण के लिए,
रेफ़रंस ऐप्लिकेशन देखें.
ज़रूरी है (
Android MediaRouter का डिफ़ॉल्ट तरीका):
A जब भेजने वाला ऐप्लिकेशन, कास्ट रिसीवर से कनेक्ट नहीं होता है, तो
कास्ट बटन पर टैप करने से कास्ट डायलॉग दिखता है
B कास्ट डायलॉग का टाइटल, "इस पर कास्ट करें" दिखता है
C कास्ट डायलॉग में, उपलब्ध वेब रिसीवर की सूची दिखती है
D फ़िलहाल कास्ट किए जा रहे हर रिसीवर पर, "कास्ट किया जा रहा है
ऐप्लिकेशन का नाम" दिखना चाहिए
एक से ज़्यादा उपयोगकर्ताओं के लिए ये स्थितियां ध्यान में रखें:
जब कोई दूसरा उपयोगकर्ता, उसी ऐप्लिकेशन और खाते से कास्ट करने वाले डिवाइस से कनेक्ट करता है, तो कास्ट किए जा रहे कॉन्टेंट के कंट्रोल, भेजने वाले ऐप्लिकेशन से मिलते हैं.
जब कोई दूसरा उपयोगकर्ता, किसी ऐसे ऐप्लिकेशन से डिवाइस पर कास्टिंग कर रहा हो जो कास्टिंग नहीं कर रहा है, तो डिवाइस पर कास्ट करने वाला पिछला ऐप्लिकेशन डिसकनेक्ट हो जाता है और नया ऐप्लिकेशन कनेक्ट हो जाता है.
iOS डिवाइसों पर पहली बार कास्ट करते समय, उपयोगकर्ताओं को लोकल नेटवर्क ऐक्सेस (एलएनए) की अनुमति देने के लिए सहमति देनी होगी, ताकि वे डिवाइसों पर कास्ट कर सकें. उपयोगकर्ताओं को एक इंटरस्टीशियल जानकारी वाली स्क्रीन दिखाई जाती है, जिसमें बताया जाता है कि इस अनुमति की ज़रूरत क्यों है. इसके बाद, Apple LNA की अनुमतियों वाला स्टैंडर्ड डायलॉग दिखता है.
पहली बार कास्ट करने के बाद, अगर उपयोगकर्ता वाई-फ़ाई का इस्तेमाल कर रहा है और 'कास्ट करें' बटन पर टैप करने पर कोई डिवाइस नहीं मिलता है, तो उसे सहायता स्क्रीन दिखती है. इस स्क्रीन पर, यह बताया जाता है कि वेब रिसीवर उपलब्ध न होने की क्या वजह हो सकती है. उदाहरण के लिए, स्थानीय नेटवर्क का ऐक्सेस बंद है या वाई-फ़ाई नेटवर्क में कोई समस्या है.
ज़रूरी है:
A पहली बार कास्ट करना: पहली बार कास्ट करने के लिए,
'कास्ट करें' बटन पर टैप करने के बाद,
उपयोगकर्ता को यह बताने के लिए इंटरस्टीशियल दिखाना ज़रूरी है कि उसे ऐप्लिकेशन को लोकल नेटवर्क डिवाइसों को ऐक्सेस करने की अनुमति क्यों देनी चाहिए. इंटरस्टीशियल में यह जानकारी शामिल होनी चाहिए कि
लोकल नेटवर्क का ऐक्सेस क्यों ज़रूरी है. इससे उपयोगकर्ता को अनुमति देने की संभावना बढ़ेगी.
B रिसीवर उपलब्ध नहीं हैं: कास्ट बटन पर टैप करने पर, मदद पाने के लिए एक स्क्रीन दिखती है. इसमें, वेब रिसीवर न दिखने की संभावित वजहों के बारे में बताया जाता है. साथ ही, एलएनए की अनुमतियों से जुड़ी समस्याओं को ठीक करने के लिए, सेटिंग के लिंक भी दिए जाते हैं.
पहली बार कास्ट करना (iOS)
पहली बार कास्ट करने पर: इंटरस्टीशियल और लोकल नेटवर्क ऐक्सेस करने की अनुमतियां
ज़रूरी है A जब भेजने वाला ऐप्लिकेशन किसी वेब रिसीवर से कनेक्ट होता है, तो
कास्ट करें बटन पर टैप करने से कास्ट करने के लिए डायलॉग बॉक्स दिखता है
B कास्ट करने के लिए डायलॉग बॉक्स का टाइटल "रिसीवर का नाम" दिखता है
C कास्ट करने के लिए डायलॉग बॉक्स में, कास्ट करने की प्रोसेस को रोकने के लिए एक बटन दिखता है. इस बटन का लेबल "कास्ट करना बंद करें" होता है. डिसकनेक्ट करने के बारे में ज़्यादा जानने के लिए,
कास्ट करने वाला व्यक्ति कास्ट करने की प्रोसेस को रोकता है देखें
ज़रूरी है A कास्ट डायलॉग का टाइटल "Receiver-Name" दिखता है
B कास्ट किया जा रहा रिसीवर या कॉन्टेंट, टाइटल के नीचे दिखता है
C कास्ट डायलॉग में "कास्ट करना बंद करें" बटन दिखता है, जिससे कास्टिंग बंद हो जाती है. ज़्यादा जानकारी के लिए, कास्ट करने वाला व्यक्ति कास्टिंग बंद करता है देखें
सबसे सही तरीका
उपयोगकर्ताओं को बेहतरीन अनुभव देने के लिए, 'कास्ट करें' डायलॉग में दिए गए कंट्रोल के अलावा, सदाबहार कंट्रोल भी उपलब्ध कराएं.
Android
कास्ट करते समय दिखने वाला डायलॉग
कॉन्टेंट चलाने वाला व्यक्ति
iOS
कास्ट करते समय दिखने वाला डायलॉग
कॉन्टेंट चलाने वाला व्यक्ति
Chrome
कास्ट करते समय दिखने वाला डायलॉग
कॉन्टेंट चलाने वाला व्यक्ति
इस डिज़ाइन गाइड में इस्तेमाल की गई इमेज
Blender Foundation की हैं. इन्हें कॉपीराइट या क्रिएटिव कॉमंस लाइसेंस के तहत शेयर किया गया है.
Elephant's Dream: (c) कॉपीराइट 2006, Blender Foundation / Netherlands Media Art Institute /
www.elephantsdream.org
Sintel: (c) copyright Blender Foundation | www.sintel.org
Tears of Steel: (CC) Blender Foundation | mango.blender.org
Big Buck Bunny: (c) copyright 2008, Blender Foundation / www.bigbuckbunny.org
[null,null,["आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Cast dialog enables users to connect to, manage, and disconnect from Web Receivers and should be implemented consistently across platforms.\u003c/p\u003e\n"],["\u003cp\u003eOn iOS, users must grant local network access permission for initial casting and may encounter a help screen if no devices are found.\u003c/p\u003e\n"],["\u003cp\u003eWhen connected, the Cast dialog displays the receiver name and a "STOP CASTING" button, offering controls for the casting session.\u003c/p\u003e\n"],["\u003cp\u003eFor optimal user experience, it's recommended to include persistent controls alongside those within the Cast dialog, enhancing user interaction.\u003c/p\u003e\n"],["\u003cp\u003eAndroid apps can leverage the MediaRouter component for built-in Cast dialog UX, simplifying implementation.\u003c/p\u003e\n"]]],[],null,["# Cast Dialog\n\nThe Cast dialog is shown whenever the Cast button is pressed. The Cast dialog lets users\nconnect, control, and disconnect from Web Receivers.\n| **Note:** For Android apps, use the `MediaRouter` component from the MediaRouter Support Library to implement the Cast dialog. It has all of the UX requirements built right in.\n| **Note:** For iOS senders, a special Local Network Access interstitial dialog must be displayed the first time a user attempts to cast.\n\nIf you're developing a custom implementation or building an app for iOS or Chrome, you must\nimplement this dialog in a consistent way, so that users recognize and trust it to function\nconsistently across devices, apps and platforms. Refer to the\n[Reference apps](/cast/docs/sample_apps#reference_apps) for examples.\n\n### [Cast dialog, not connected (receivers available)](#sender-cast-menu-available)\n\n\n**Required** (default behavior of [Android MediaRouter](https://developer.android.com/reference/androidx/mediarouter/media/MediaRouter)):\n\n\nA When the sender app is not connected to a Cast receiver,\ntapping the Cast button shows the Cast dialog\n\n\nB The Cast dialog title, \"Cast to\" appears\n\n\nC The Cast dialog shows a list of available Web Receivers\n\n\nD Each receiver currently casting should display, \"Casting\n*app name*\"\n\n**Note the multi-user scenarios:**\n\n- When another user connects to a receiver currently casting from the same app and account, the sender app provides the controls for the cast content.\n- When another user connects to a receiver currently casting from an app that is not casting, the previous sender app disconnects and the new sender app connects.\n\n### Android\n\nCast dialog, not connected \nCast home screen \n\n### iOS\n\nCast dialog, not connected \nCast home screen \n\n### Chrome\n\nCast dialog, not connected \nCast home screen \n\n### [Cast dialog, not connected (iOS only)](#sender-cast-menu-available)\n\n\nFor iOS, when casting for the first time, users must consent to allow local network access (LNA) to\nCast devices. An interstitial information screen is presented\nto users explaining why this permission is needed, followed by the standard Apple LNA\npermissions dialog.\n\n\nAfter casting for the first time, if no devices are found when the Cast button is tapped while the\nuser is on Wi-Fi, a help screen is presented\nexplaining why Web Receivers might not be available (for example,\nlocal network access is disabled, or there is a problem with the Wi-Fi network).\n\n\n**Required** :\n\n\nA First-time casting: After tapping on the Cast button\nfor the first time,\nan Interstitial must be shown to explain to the user why they should allow\nthe app to access local network devices. The interstitial should include information on\nwhy local network access is needed, to increase the likelihood of the user accepting\nlocal permission access.\n\n\nB Receivers unavailable: Tapping the Cast button\ndisplays a help screen explaining possible reasons the user\nis unable to discover Web Receivers, along with links to Settings to fix LNA permissions issues. \n\n### First-time casting (iOS)\n\nFirst-time casting: interstitial and local network access permissions \n\n### Receivers unavailable\n\nReceivers unavailable \n\n### [Cast dialog, connected but not casting](#sender-cast-menu-connected)\n\n\n**Required**\n\n\nA When the sender app is connected to a Web Receiver,\ntapping the Cast button shows the Cast dialog\n\n\nB The Cast dialog title \"Receiver-Name\" appears\n\n\nC The Cast dialog shows a button to stop casting\nwith button label \"STOP CASTING\" (for more information about disconnecting, see\n[Sender stops cast](/cast/docs/design_checklist/sender#sender-control-end)) \n\n### Android\n\nCast dialog, connected but not casting \nReceiver app loaded / idle \n\n### iOS\n\nCast dialog, connected but not casting \nReceiver app loaded / idle \n\n### [Cast dialog, while casting](#sender-cast-menu-casting)\n\n\n**Required**\n\n\nA The Cast dialog title \"Receiver-Name\" appears\n\n\nB The receiver or content currently casting is shown below\nthe title\n\n\nC The Cast dialog shows a \"STOP CASTING\" button that stops\ncasting (for more information see\n[Sender stops cast](/cast/docs/design_checklist/sender#sender-control-end))\n\n**Best practice**\n\n- For the best user experience, provide [persistent controls](/cast/docs/design_checklist/sender#sender-mini-controller) in addition to the controls in the Cast dialog.\n\n### Android\n\nCast dialog, while casting \nReceiver playing content \n\n### iOS\n\nCast dialog, while casting \nReceiver playing content \n\n### Chrome\n\nCast dialog, while casting \nReceiver playing content \n\n**Images used in this design guide**\nare courtesy of the Blender Foundation, shared under copyright or Creative Commons license.\n\n- Elephant's Dream: (c) copyright 2006, Blender Foundation / Netherlands Media Art Institute / www.elephantsdream.org\n- Sintel: (c) copyright Blender Foundation \\| www.sintel.org\n- Tears of Steel: (CC) Blender Foundation \\| mango.blender.org\n- Big Buck Bunny: (c) copyright 2008, Blender Foundation / www.bigbuckbunny.org"]]