fidl_fuchsia_bluetooth_avrcpTrait BrowseControllerProxyInterface
Source pub trait BrowseControllerProxyInterface: Send + Sync {
type GetMediaPlayerItemsResponseFut: Future<Output = Result<BrowseControllerGetMediaPlayerItemsResult, Error>> + Send;
type GetNowPlayingItemsResponseFut: Future<Output = Result<BrowseControllerGetNowPlayingItemsResult, Error>> + Send;
type GetFileSystemItemsResponseFut: Future<Output = Result<BrowseControllerGetFileSystemItemsResult, Error>> + Send;
type ChangePathResponseFut: Future<Output = Result<BrowseControllerChangePathResult, Error>> + Send;
type PlayFileSystemItemResponseFut: Future<Output = Result<BrowseControllerPlayFileSystemItemResult, Error>> + Send;
type PlayNowPlayingItemResponseFut: Future<Output = Result<BrowseControllerPlayNowPlayingItemResult, Error>> + Send;
type SetBrowsedPlayerResponseFut: Future<Output = Result<BrowseControllerSetBrowsedPlayerResult, Error>> + Send;
// Required methods
fn get_media_player_items(
&self,
start_index: u32,
end_index: u32,
) -> Self::GetMediaPlayerItemsResponseFut;
fn get_now_playing_items(
&self,
start_index: u32,
end_index: u32,
attribute_option: &AttributeRequestOption,
) -> Self::GetNowPlayingItemsResponseFut;
fn get_file_system_items(
&self,
start_index: u32,
end_index: u32,
attribute_option: &AttributeRequestOption,
) -> Self::GetFileSystemItemsResponseFut;
fn change_path(&self, path: &Path) -> Self::ChangePathResponseFut;
fn play_file_system_item(
&self,
uid: u64,
) -> Self::PlayFileSystemItemResponseFut;
fn play_now_playing_item(
&self,
uid: u64,
) -> Self::PlayNowPlayingItemResponseFut;
fn set_browsed_player(
&self,
player_id: u16,
) -> Self::SetBrowsedPlayerResponseFut;
}