fidl_fuchsia_ui_test_input

Trait TouchScreenProxyInterface

Source
pub trait TouchScreenProxyInterface: Send + Sync {
    type SimulateTapResponseFut: Future<Output = Result<(), Error>> + Send;
    type SimulateMultiTapResponseFut: Future<Output = Result<(), Error>> + Send;
    type SimulateSwipeResponseFut: Future<Output = Result<(), Error>> + Send;
    type SimulateMultiFingerGestureResponseFut: Future<Output = Result<(), Error>> + Send;
    type SimulateTouchEventResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn simulate_tap(
        &self,
        payload: &TouchScreenSimulateTapRequest,
    ) -> Self::SimulateTapResponseFut;
    fn simulate_multi_tap(
        &self,
        payload: &TouchScreenSimulateMultiTapRequest,
    ) -> Self::SimulateMultiTapResponseFut;
    fn simulate_swipe(
        &self,
        payload: &TouchScreenSimulateSwipeRequest,
    ) -> Self::SimulateSwipeResponseFut;
    fn simulate_multi_finger_gesture(
        &self,
        payload: &TouchScreenSimulateMultiFingerGestureRequest,
    ) -> Self::SimulateMultiFingerGestureResponseFut;
    fn simulate_touch_event(
        &self,
        report: &TouchInputReport,
    ) -> Self::SimulateTouchEventResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§