Skip to main content

cdp_driver/methods/
web_audio.rs

1// @generated by `just generate-methods` from protocol/*.json.
2// Do not edit by hand; edit xtask/ and regenerate.
3
4//! This domain allows inspection of Web Audio API.
5//! <https://webaudio.github.io/web-audio-api/>
6//!
7//! Method names for the `WebAudio` domain, for use with
8//! [`CdpClient::call`](crate::CdpClient::call).
9//!
10//! This domain is experimental and may change without notice.
11
12/// Enables the WebAudio domain and starts sending context lifetime events.
13pub const ENABLE: &str = "WebAudio.enable";
14
15/// Disables the WebAudio domain.
16pub const DISABLE: &str = "WebAudio.disable";
17
18/// Fetch the realtime data from the registered contexts.
19///
20/// Parameters:
21/// - `contextId`: GraphObjectId
22///
23/// Returns: `realtimeData`
24pub const GET_REALTIME_DATA: &str = "WebAudio.getRealtimeData";