web_sys/features/
gen_MediaSessionAction.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use wasm_bindgen::prelude::*;
4#[cfg(web_sys_unstable_apis)]
5#[wasm_bindgen]
6#[doc = "The `MediaSessionAction` enum."]
7#[doc = ""]
8#[doc = "*This API requires the following crate features to be activated: `MediaSessionAction`*"]
9#[doc = ""]
10#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
11#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
12#[derive(Debug, Clone, Copy, PartialEq, Eq)]
13pub enum MediaSessionAction {
14    Play = "play",
15    Pause = "pause",
16    Seekbackward = "seekbackward",
17    Seekforward = "seekforward",
18    Previoustrack = "previoustrack",
19    Nexttrack = "nexttrack",
20    Skipad = "skipad",
21    Stop = "stop",
22    Seekto = "seekto",
23    Togglemicrophone = "togglemicrophone",
24    Togglecamera = "togglecamera",
25    Hangup = "hangup",
26}