fidl_fuchsia_bluetooth_hfp

Trait HeadsetGainProxyInterface

Source
pub trait HeadsetGainProxyInterface: Send + Sync {
    type WatchSpeakerGainResponseFut: Future<Output = Result<u8, Error>> + Send;
    type WatchMicrophoneGainResponseFut: Future<Output = Result<u8, Error>> + Send;

    // Required methods
    fn set_speaker_gain(&self, requested: u8) -> Result<(), Error>;
    fn watch_speaker_gain(&self) -> Self::WatchSpeakerGainResponseFut;
    fn set_microphone_gain(&self, requested: u8) -> Result<(), Error>;
    fn watch_microphone_gain(&self) -> Self::WatchMicrophoneGainResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§