RepeatMode
Stay organized with collections
Save and categorize content based on your preferences.
The types of repeat mode for a list of media objects.
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-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThere are three repeat modes available for controlling media playback behavior.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eREPEAT_MODE_UNSPECIFIED\u003c/code\u003e and \u003ccode\u003eOFF\u003c/code\u003e modes end playback after the last item in the list.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eALL\u003c/code\u003e mode loops playback back to the beginning of the list after the last item.\u003c/p\u003e\n"]]],["The provided content outlines three repeat modes for a list of media objects. `REPEAT_MODE_UNSPECIFIED` acts as an off state. `OFF` signifies that the media session ends upon reaching the last media object. `ALL` indicates continuous looping, returning to the first media object after the last one concludes. These modes dictate playback behavior when the end of a media list is reached.\n"],null,["# RepeatMode\n\nThe types of repeat mode for a list of media objects.\n\n| Enums ||\n|---------------------------|---------------------------------------------------------------------------------------------------|\n| `REPEAT_MODE_UNSPECIFIED` | Equivalent to OFF. |\n| `OFF` | End media session at the end of the last media object. |\n| `ALL` | Loop to the beginning of the first media object when the end of the last media object is reached. |"]]