pub trait TargetHandlerProxyInterface: Send + Sync {
    type GetEventsSupportedResponseFut: Future<Output = Result<TargetHandlerGetEventsSupportedResult, Error>> + Send;
    type GetMediaAttributesResponseFut: Future<Output = Result<TargetHandlerGetMediaAttributesResult, Error>> + Send;
    type GetPlayStatusResponseFut: Future<Output = Result<TargetHandlerGetPlayStatusResult, Error>> + Send;
    type SendCommandResponseFut: Future<Output = Result<TargetHandlerSendCommandResult, Error>> + Send;
    type ListPlayerApplicationSettingAttributesResponseFut: Future<Output = Result<TargetHandlerListPlayerApplicationSettingAttributesResult, Error>> + Send;
    type GetPlayerApplicationSettingsResponseFut: Future<Output = Result<TargetHandlerGetPlayerApplicationSettingsResult, Error>> + Send;
    type SetPlayerApplicationSettingsResponseFut: Future<Output = Result<TargetHandlerSetPlayerApplicationSettingsResult, Error>> + Send;
    type GetNotificationResponseFut: Future<Output = Result<TargetHandlerGetNotificationResult, Error>> + Send;
    type WatchNotificationResponseFut: Future<Output = Result<TargetHandlerWatchNotificationResult, Error>> + Send;
    type SetAddressedPlayerResponseFut: Future<Output = Result<TargetHandlerSetAddressedPlayerResult, Error>> + Send;
    type GetMediaPlayerItemsResponseFut: Future<Output = Result<TargetHandlerGetMediaPlayerItemsResult, Error>> + Send;

    // Required methods
    fn get_events_supported(&self) -> Self::GetEventsSupportedResponseFut;
    fn get_media_attributes(&self) -> Self::GetMediaAttributesResponseFut;
    fn get_play_status(&self) -> Self::GetPlayStatusResponseFut;
    fn send_command(
        &self,
        command: AvcPanelCommand,
        pressed: bool
    ) -> Self::SendCommandResponseFut;
    fn list_player_application_setting_attributes(
        &self
    ) -> Self::ListPlayerApplicationSettingAttributesResponseFut;
    fn get_player_application_settings(
        &self,
        attribute_ids: &[PlayerApplicationSettingAttributeId]
    ) -> Self::GetPlayerApplicationSettingsResponseFut;
    fn set_player_application_settings(
        &self,
        requested_settings: &PlayerApplicationSettings
    ) -> Self::SetPlayerApplicationSettingsResponseFut;
    fn get_notification(
        &self,
        event_id: NotificationEvent
    ) -> Self::GetNotificationResponseFut;
    fn watch_notification(
        &self,
        event_id: NotificationEvent,
        current: &Notification,
        pos_change_interval: u32
    ) -> Self::WatchNotificationResponseFut;
    fn set_addressed_player(
        &self,
        player_id: &AddressedPlayerId
    ) -> Self::SetAddressedPlayerResponseFut;
    fn get_media_player_items(&self) -> Self::GetMediaPlayerItemsResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§