pub trait ScreenCaptureProxyInterface: Send + Sync {
    type ConfigureResponseFut: Future<Output = Result<ScreenCaptureConfigureResult, Error>> + Send;
    type GetNextFrameResponseFut: Future<Output = Result<ScreenCaptureGetNextFrameResult, Error>> + Send;

    // Required methods
    fn configure(
        &self,
        payload: ScreenCaptureConfig
    ) -> Self::ConfigureResponseFut;
    fn get_next_frame(&self) -> Self::GetNextFrameResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§