קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
תיבת הדו-שיח של העברה מופיעה בכל פעם שלוחצים על לחצן ההעברה. תיבת הדו-שיח של ההעברה מאפשרת למשתמשים להתחבר למקלטי אינטרנט, לשלוט בהם ולנתק אותם.
אם אתם מפתחים הטמעה בהתאמה אישית או יוצרים אפליקציה ל-iOS או ל-Chrome, עליכם להטמיע את תיבת הדו-שיח הזו באופן עקבי, כדי שהמשתמשים יזהו אותה ויסמכו עליה שתפעול באופן עקבי במכשירים, באפליקציות ובפלטפורמות שונים. דוגמאות מפורטות באפליקציות העזרה.
חובה (התנהגות ברירת המחדל של
Android MediaRouter):
א כשאפליקציית השולח לא מחוברת למכשיר מקלט Cast, הקשה על לחצן ההעברה מציגה את תיבת הדו-שיח של ההעברה
ב השם של תיבת הדו-שיח של ההעברה הוא 'העברה אל'
ג בתיבת הדו-שיח של ההעברה מוצגת רשימה של מכשירי האינטרנט הזמינים להעברה
ד בכל מכשיר מקלט שמבצע העברה כרגע אמור להופיע הכיתוב 'העברה של שם האפליקציה'
שימו לב לתרחישי השימוש עם כמה משתמשים:
כשמשתמש אחר מתחבר למכשיר מקלט שמבצע העברה (cast) מאותה אפליקציה ומאותו חשבון, האפליקציה השולחת מספקת את אמצעי הבקרה של התוכן שמשודר.
כשמשתמש אחר מתחבר למכשיר מקלט שמבצע העברה (cast) מאפליקציה שלא מבצעת העברה, אפליקציית השליחה הקודמת מתנתקת ואפליקציית השליחה החדשה מתחברת.
ב-iOS, כשמבצעים העברה (cast) בפעם הראשונה, המשתמשים צריכים להביע הסכמה להעניק גישה לרשת המקומית (LNA) למכשירי העברה. למשתמשים מוצג מסך מעברון עם מידע שמסביר למה נדרשת ההרשאה הזו, ולאחר מכן תיבת הדו-שיח הרגילה של Apple LNA עם ההרשאות.
אחרי ביצוע העברה (cast) בפעם הראשונה, אם לא נמצאו מכשירים כשמקישים על לחצן ההעברה (cast) בזמן שהמשתמש מחובר ל-Wi-Fi, מוצג מסך עזרה עם הסבר על הסיבות האפשריות לכך שאין מקלטי אינטרנט זמינים (לדוגמה, הגישה לרשת המקומית מושבתת או שיש בעיה ברשת ה-Wi-Fi).
חובה:
א העברה (cast) בפעם הראשונה: אחרי שמקישים על לחצן ההעברה (cast) בפעם הראשונה, חייבת להופיע מודעה מעברון כדי להסביר למשתמש למה כדאי לתת לאפליקציה גישה למכשירים ברשת המקומית. כדי להגדיל את הסיכוי שהמשתמשים יאשרו את הגישה להרשאות המקומיות, המודעות המעבריות צריכות לכלול מידע על הסיבה לצורך בגישה לרשת המקומית.
B מקלטים לא זמינים: כשמקישים על לחצן ההעברה (cast), מוצג מסך עזרה עם הסברים על הסיבות האפשריות לכך שהמשתמש לא מצליח למצוא מקלטי אינטרנט, וכן קישורים להגדרות לפתרון בעיות בהרשאות LNA.
העברה (cast) בפעם הראשונה (iOS)
הפעלת Cast בפעם הראשונה: הרשאות גישה לרשת המקומית ולמודעות מעברון
חובה א כשאפליקציית השולח מחוברת למכשיר מקלט אינטרנט, הקשה על כפתור ההעברה מפעילה את תיבת הדו-שיח של ההעברה
ב מוצג השם של מכשיר המקלט בתיבת הדו-שיח של ההעברה
ג בתיבת הדו-שיח של ההעברה מוצג כפתור להפסקת ההעברה עם הכיתוב 'הפסקת ההעברה' (מידע נוסף על ניתוק זמין בקטע השולח מפסיק את ההעברה)
Android
תיבת דו-שיח של העברה, המכשיר מחובר אבל לא מתבצע העברה
אפליקציית המקבל נטענת / במצב חוסר פעילות
iOS
תיבת דו-שיח של העברה, המכשיר מחובר אבל לא מתבצע העברה
חובה א כותרת תיבת הדו-שיח של ההעברה (cast) 'שם המכשיר המקבל' מופיעה
ב המכשיר המקבל או התוכן שמוצג כרגע בהעברה מופיעים מתחת
לכותרת
ג תיבת הדו-שיח של ההעברה (cast) כוללת לחצן 'הפסקת ההעברה (cast)' שמשמש להפסקת ההעברה (מידע נוסף זמין במאמר השולח מפסיק את ההעברה (cast))
שיטה מומלצת
כדי לספק את חוויית המשתמש הטובה ביותר, כדאי לספק פקדים קבועים בנוסף לפקדים בתיבת הדו-שיח של Cast.
Android
תיבת הדו-שיח של Cast, בזמן ההעברה (cast)
רמקול שמפעיל תוכן
iOS
תיבת הדו-שיח של Cast, בזמן ההעברה (cast)
רמקול שמפעיל תוכן
Chrome
תיבת הדו-שיח של Cast, בזמן ההעברה (cast)
רמקול שמפעיל תוכן
התמונות שמופיעות במדריך העיצוב הזה הן באדיבות Blender Foundation, והן משותפות בכפוף לזכויות יוצרים או לרישיון Creative Commons.
Elephant's Dream: (c) copyright 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"]]