pub trait PlaylistsInterface: PlayerInterface {
    // Required methods
    fn activate_playlist<'life0, 'async_trait>(
        &'life0 self,
        playlist_id: PlaylistId
    ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_playlists<'life0, 'async_trait>(
        &'life0 self,
        index: u32,
        max_count: u32,
        order: PlaylistOrdering,
        reverse_order: bool
    ) -> Pin<Box<dyn Future<Output = Vec<Playlist>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn playlist_count<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = u32> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn orderings<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Vec<PlaylistOrdering>> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn active_playlist<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = MaybePlaylist> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn activate_playlist<'life0, 'async_trait>( &'life0 self, playlist_id: PlaylistId ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_playlists<'life0, 'async_trait>( &'life0 self, index: u32, max_count: u32, order: PlaylistOrdering, reverse_order: bool ) -> Pin<Box<dyn Future<Output = Vec<Playlist>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn playlist_count<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = u32> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn orderings<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Vec<PlaylistOrdering>> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn active_playlist<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = MaybePlaylist> + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§