fidl_fuchsia_bluetooth_avrcp

Trait AbsoluteVolumeHandlerProxyInterface

Source
pub trait AbsoluteVolumeHandlerProxyInterface: Send + Sync {
    type SetVolumeResponseFut: Future<Output = Result<u8, Error>> + Send;
    type OnVolumeChangedResponseFut: Future<Output = Result<u8, Error>> + Send;
    type GetCurrentVolumeResponseFut: Future<Output = Result<u8, Error>> + Send;

    // Required methods
    fn set_volume(&self, requested_volume: u8) -> Self::SetVolumeResponseFut;
    fn on_volume_changed(&self) -> Self::OnVolumeChangedResponseFut;
    fn get_current_volume(&self) -> Self::GetCurrentVolumeResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§