pub trait MediaButtonsDeviceProxyInterface: Send + Sync {
    type SimulateButtonPressResponseFut: Future<Output = Result<(), Error>> + Send;
    type SendButtonsStateResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn simulate_button_press(
        &self,
        payload: &MediaButtonsDeviceSimulateButtonPressRequest
    ) -> Self::SimulateButtonPressResponseFut;
    fn send_buttons_state(
        &self,
        payload: &MediaButtonsDeviceSendButtonsStateRequest
    ) -> Self::SendButtonsStateResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§