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