fidl_fuchsia_ui_policy

Trait MediaButtonsListenerProxyInterface

Source
pub trait MediaButtonsListenerProxyInterface: Send + Sync {
    type OnEventResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn on_media_buttons_event(
        &self,
        event: &MediaButtonsEvent,
    ) -> Result<(), Error>;
    fn on_event(&self, event: &MediaButtonsEvent) -> Self::OnEventResponseFut;
}

Required Associated Types§

Source

type OnEventResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

Implementors§