pub enum AudioRequest {
Watch {
responder: AudioWatchResponder,
},
Set {
settings: AudioSettings,
responder: AudioSetResponder,
},
}
Expand description
Settings related to audio.
Supported SettingsEpitaph enums: REQUEST_NOT_SUPPORTED, INTERNAL_SERVICE_ERROR, PERSISTENT_STORAGE_ERROR
Variants§
Watch
Fields
§
responder: AudioWatchResponder
Gets the current AudioSettings. Returns immediately on first call; subsequent calls return when the value changes.
If this call fails, it is considered a fatal error and the channel will be closed.
Set
Sets audio settings. Any field not explicitly set in the table performs a no-op, and will not make any changes.
Implementations§
source§impl AudioRequest
impl AudioRequest
pub fn into_watch(self) -> Option<AudioWatchResponder>
pub fn into_set(self) -> Option<(AudioSettings, AudioSetResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL