Interface CoWatchingClient
Stay organized with collections
Save and categorize content based on your preferences.
Client-constructed CoWatching experience with hooks for hosts to manage the
state.
Signature
interface CoWatchingClient
Method signatures
Name |
Description |
notifyBuffering(mediaPlayoutPosition) |
Notify Meet that the media isn't ready to be played due to buffering, a prior media switch, seeking, or normal network congestion. |
notifyPauseState(paused, mediaPlayoutPosition) |
Notify Meet that the user has paused or unpaused the playback of media, so Meet can mirror that action for other users. |
notifyPlayoutRate(rate, mediaPlayoutPosition) |
Notify Meet that the user updated the playout rate of the media to a new value (for example, 1.25x). |
notifyReady(mediaPlayoutPosition) |
Notify Meet that the buffering is complete and the media is now ready to play, starting at the supplied timestamp. |
notifySeekToTimestamp(mediaPlayoutPosition) |
Notify Meet that the user has sought the playback point of the media, so Meet can mirror that action for other users. |
notifySwitchedToMedia(mediaTitle, mediaId, mediaPlayoutPosition) |
Notify Meet that the user has switched media so Meet can pass that along to other users. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-23 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-05-23 UTC.",
"confidential": False
}