הפניית API של Google Cast
קובץ העזר הזה מספק את תיעוד ה-API הבא לאפליקציות שליחה וקבלה.
ממשקי API של אפליקציית השולח
אפליקציית שולח פועלת במכשיר שבו המשתמש מחזיק ומנהלת את האינטראקציה של המשתמש עם התוכן.
באפליקציות של שולחים, Google Cast תומך בפיתוח אפליקציות לפלטפורמות האינטרנט Android, iOS ו-Cast, בצירוף המסמכים הבאים:
ממשקי API של אפליקציית מקלט
אפליקציית מקלט היא אפליקציית Chrome שרצה במכשיר המקלט של Google Cast המחובר למסך ומנהלת את הצגת התוכן.
משתמשים ב-API כדי ליצור אפליקציה מותאמת אישית למקלט. הספרייה של Media Player מספקת לאפליקציה
נגן מדיה. ממשקי ה-API מתועדים כאן:
משאבים
לקבלת הוראות להגדרת ממשקי ה-API שלמעלה, אפשר לעיין בקטע התקנת ספריות API.
במדריכים הבאים אפשר למצוא מידע נוסף על פיתוח עם ממשקי ה-API האלה:
רישיונות
שולחים באינטרנט, ספריית Media Player ו-מקלט עושים שימוש בספריית החסימות שיש לה רישיון ברישיון Apache, גרסה 2.0 וספריית html המוארת, מורשית ברישיון BSD 3-Clause.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2022-12-06 (שעון UTC).
[null,null,["עדכון אחרון: 2022-12-06 (שעון UTC)."],[[["This documentation provides API references for building sender and receiver applications for Google Cast."],["Sender applications, which manage user interaction, can be developed for Android, iOS, and web platforms."],["Receiver applications, responsible for displaying content, are Chrome applications running on Google Cast devices and can be custom-built using the provided APIs."],["Setup instructions and developer guides are available for all supported platforms and application types."],["The Web Sender, Media Player Library, and Receiver utilize the Closure and lit-html libraries, under the Apache 2.0 and BSD 3-Clause licenses respectively."]]],["The documentation covers Google Cast APIs for sender and receiver applications. Sender apps, running on user devices, have API references for Android, iOS, and web platforms. Receiver apps, running on display-connected devices, use Web Receiver and Android TV Receiver APIs, with a Media Player Library. Resources include setup instructions and development guides for each platform. Libraries like Closure and lit-html are used under Apache 2.0 and BSD 3-Clause licenses, respectively.\n"]]