OptionalMediaControls
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\u003cp\u003eThe media response supports optional media control types, which indicate user interactions like pausing or stopping the media.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePAUSED\u003c/code\u003e and \u003ccode\u003eSTOPPED\u003c/code\u003e are two specific media control types, triggered when a user pauses the media or exits the third-party session during playback, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe default value for media control type is \u003ccode\u003eOPTIONAL_MEDIA_CONTROLS_UNSPECIFIED\u003c/code\u003e and carries no specific meaning.\u003c/p\u003e\n"]]],["The core content outlines media control types and their corresponding events. `PAUSED` is triggered when a user pauses the media. `STOPPED` occurs when a user exits a third-party session while media is playing. `OPTIONAL_MEDIA_CONTROLS_UNSPECIFIED` represents an undefined value for media control. These controls dictate how the media response can be handled and specify user interactions.\n"],null,["# OptionalMediaControls\n\nMedia control types the media response can supported optionally\n\n| Enums ||\n|---------------------------------------|---------------------------------------------------------------------------|\n| `OPTIONAL_MEDIA_CONTROLS_UNSPECIFIED` | Unspecified value |\n| `PAUSED` | Paused event. Triggered when user pauses the media. |\n| `STOPPED` | Stopped event. Triggered when user exit out 3p session during media play. |"]]