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 2023/12/01 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2023/12/01 (UTC)."],[[["`ClipEndedEvent` provides data for the `cast.framework.events.EventType.CLIP_ENDED` event, signaling when a media clip has finished playing."],["It includes `currentMediaTime` indicating the playback time when the clip ended and `endedReason` specifying why the clip ended (e.g., naturally, skipped, etc.)."],["Developers can access these properties to understand the context of the clip ending and implement corresponding logic in their web receiver application."]]],["The `ClipEndedEvent` class provides data for the `CLIP_ENDED` event. It's initialized with `currentMediaTime`, a number representing the clip's end time in seconds, and an optional `endedReason`, specifying why the clip ended. The class also contains two constant properties: `currentMediaTime`, the end time in seconds, and `endedReason`, indicating the reason for clip termination. This is essential data in the event the event `CLIP_ENDED` is triggered.\n"]]