RepeatMode
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
REPEAT_MODE_UNSPECIFIED |
等同于 OFF。 |
OFF |
在最后一个媒体对象结束时结束媒体会话。 |
ALL |
到达最后一个媒体对象的结尾时,循环播放第一个媒体对象的开头。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]