fidl_fuchsia_ui_policy

Trait DeviceListenerRegistryProxyInterface

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

    // Required methods
    fn register_media_buttons_listener(
        &self,
        listener: ClientEnd<MediaButtonsListenerMarker>,
    ) -> Result<(), Error>;
    fn register_listener(
        &self,
        listener: ClientEnd<MediaButtonsListenerMarker>,
    ) -> Self::RegisterListenerResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§