Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/08/22 (UTC).
[null,null,["Dernière mise à jour le 2024/08/22 (UTC)."],[[["The Early Access Program for this feature is now closed and no longer accepting new participants."],["`onCoWatchingStateChanged` is a function used to apply the supplied `CoWatchingState` to media playout, potentially triggering a switch to a new media stream."],["This function is not optional and requires a `CoWatchingState` as an argument, ultimately returning void."]]],["The document outlines a closed Early Access Program, previously used for previewing a feature. It details the `onCoWatchingStateChanged` function, which applies a new `CoWatchingState` and can switch to a new media stream if the `mediaId` changes. This function requires a `newState` parameter of type `CoWatchingState`, has no optional parameters, and returns `void`.\n"]]