MethodChannelOnAudioQuery class

An implementation of OnAudioQueryPlatform that uses method channels.

Inheritance

Constructors

MethodChannelOnAudioQuery()

Properties

channel → MethodChannel
The MethodChannel that is being used by this implementation of the plugin.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addToPlaylist(int playlistId, int audioId) → Future<bool>
Used to add a specific song/audio to a specific Playlist
override
createPlaylist(String name, {String? author, String? desc}) → Future<bool>
Used to create a Playlist
override
moveItemTo(int playlistId, int from, int to) → Future<bool>
Used to change song/audio position from a specific Playlist
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
permissionsRequest({bool retryRequest = false}) → Future<bool>
Used to request Android permissions.
override
permissionsStatus() → Future<bool>
Used to check Android permissions status
override
queryAlbums({AlbumSortType? sortType, OrderType? orderType, UriType? uriType, bool? ignoreCase}) → Future<List<AlbumModel>>
Used to return Albums Info based in AlbumModel.
override
queryAllPath() → Future<List<String>>
Used to return Songs path.
override
queryArtists({ArtistSortType? sortType, OrderType? orderType, UriType? uriType, bool? ignoreCase}) → Future<List<ArtistModel>>
Used to return Artists Info based in ArtistModel.
override
queryArtwork(int id, ArtworkType type, {ArtworkFormat? format, int? size, int? quality}) → Future<Uint8List?>
Used to return Songs Artwork.
override
queryAudiosFrom(AudiosFromType type, Object where, {SongSortType? sortType, OrderType? orderType, bool? ignoreCase}) → Future<List<SongModel>>
Used to return Songs/Audios Info from a specific queryType based in SongModel.
override
queryDeviceInfo() → Future<DeviceModel>
Used to return Device Info
override
queryFromFolder(String path, {SongSortType? sortType, OrderType? orderType, UriType? uriType}) → Future<List<SongModel>>
Used to return Songs Info from a specific Folder based in SongModel.
override
queryGenres({GenreSortType? sortType, OrderType? orderType, UriType? uriType, bool? ignoreCase}) → Future<List<GenreModel>>
Used to return Genres Info based in GenreModel.
override
queryPlaylists({PlaylistSortType? sortType, OrderType? orderType, UriType? uriType, bool? ignoreCase}) → Future<List<PlaylistModel>>
Used to return Playlists Info based in PlaylistModel.
override
querySongs({SongSortType? sortType, OrderType? orderType, UriType? uriType, bool? ignoreCase, String? path}) → Future<List<SongModel>>
Used to return Songs Info based in SongModel.
override
queryWithFilters(String argsVal, WithFiltersType withType, dynamic args) → Future<List>
Used to return Songs Info based in Something. Works like a "Search".
override
removeFromPlaylist(int playlistId, int audioId) → Future<bool>
Used to remove a specific song/audio from a specific Playlist
override
removePlaylist(int playlistId) → Future<bool>
Used to remove/delete a Playlist
override
renamePlaylist(int playlistId, String newName) → Future<bool>
Used to rename a specific Playlist
override
scanMedia(String path) → Future<bool>
Used to scan the given path
override
setLogConfig(LogConfig? logConfig) → Future<void>
Used to set the logging behavior.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited