קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
המצב הזה משודרת לכל המשתתפים האחרים, והוא מצב ברירת המחדל של כל משתתף עד שמשדרים מצב אחר.
הערה: המצב המשותף הזה יהיה עקבי אצל כל המשתתפים בסופו של דבר.
כדי שההתנהגות תהיה צפויה, המצב הבינארי הזה צריך להיות מלא ולא חלקי, כי ה-SDK של התוספים ל-Meet לא מספק ערבויות לגבי העברת הודעות ספציפיות – רק עקביות בסופו של דבר.
הערה: בתנאים של תחרות שבהם שני משתתפים קוראים לשיטה הזו בו-זמנית, ה-SDK של התוספים ל-Meet בוחר עדכון קנוני מנצח. יכול להיות שהעדכון המפסיד יוחל על המשתתפים, ויכול להיות שלא, אבל העדכון המנצח תמיד יוחל מאוחר יותר.
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["# Method signature CoDoingClient.broadcastStateUpdate\n\n| **Early Access Program:** This feature was only available in limited preview, through an Early Access Program. This program is now closed to new signups.\n\nBroadcasts state to all other current participants, and is the default state for\nany participant until some other state is broadcast.\n\n**Note:** This shared state is eventually consistent across participants.\nFor predictable behavior, this binary state should be complete, not partial, as\nthe Meet add-ons SDK doesn't provide guarantees around the delivery of\nindividual messages -- only eventual consistency.\n\n**Note:** In a race condition where two participants call this method\nsimultaneously, the Meet add-ons SDK selects a canonical winning update. The\nlosing update might or might not be applied to participants, but the winning\nupdate is always applied later.\n\nSignature\n---------\n\n broadcastStateUpdate(newState: CoDoingState): void;\n\nDetails\n-------\n\n| Optional | No |\n|----------|----|\n\nParameters\n----------\n\n| Name | Type | Optional | Description |\n|------------|----------------------------------------------------|----------|-------------|\n| `newState` | [CoDoingState](./live_sharing_sdk.codoingstate.md) | No | |\n\nReturns\n-------\n\n`void`"]]