OptionalMediaControls
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]