RepeatMode
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ประเภทของโหมดทําซ้ําสําหรับรายการของออบเจ็กต์สื่อ
Enum |
REPEAT_MODE_UNSPECIFIED |
เทียบเท่ากับ "ปิด" |
OFF |
สิ้นสุดเซสชันสื่อที่ตอนท้ายของออบเจ็กต์สื่อล่าสุด |
ALL |
วนไปที่จุดเริ่มต้นของออบเจ็กต์สื่อแรกเมื่อมาถึงจุดสิ้นสุดของออบเจ็กต์สื่อล่าสุด |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 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. |"]]