OptionalMediaControls
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]