OnAudioQuery class

Interface and Main method for use on_audio_query

Constructors

OnAudioQuery()

Properties

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, [bool? requestPermission]) Future<bool>
Used to add a specific song/audio to a specific Playlist
createPlaylist(String playlistName, [bool? requestPermission]) Future<bool>
Used to create a Playlist
moveItemTo(int playlistId, int from, int to, [bool? requestPermission]) Future<bool>
Used to change song/audio position from a specific Playlist
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
permissionsRequest() Future<bool>
Used to request Android permissions.
permissionsStatus() Future<bool>
Used to check Android permissions status
queryAlbums([AlbumSortType? sortType, OrderType? orderType, UriType? uriType, bool? requestPermission]) Future<List<AlbumModel>>
Used to return Albums Info based in AlbumModel.
queryAllPath() Future<List<String>>
Used to return Songs path.
queryArtists([ArtistSortType? sortType, OrderType? orderType, UriType? uriType, bool? requestPermission]) Future<List<ArtistModel>>
Used to return Artists Info based in ArtistModel.
queryArtworks(int id, ArtworkType type, [ArtworkFormat? format, int? size, bool? requestPermission]) Future<Uint8List?>
Used to return Songs Artwork.
queryAudios([SongSortType? sortType, OrderType? orderType, UriType? uriType, bool? requestPermission, String? path]) Future<List<SongModel>>
Used to return Songs Info based in SongModel.
queryAudiosFrom(AudiosFromType type, Object where, [bool? requestPermission]) Future<List<SongModel>>
Used to return Songs/Audios Info from a specific queryType based in SongModel.
queryAudiosOnly(AudiosOnlyType isOnly, [SongSortType? sortType, OrderType? orderType, bool? requestPermission]) Future<List<SongModel>>
Used to return Songs Info based in SongModel.
queryDeviceInfo() Future<DeviceModel>
Used to return Device Info
queryFromFolder(String path, [SongSortType? sortType, OrderType? orderType, UriType? uriType, bool? requestPermission]) Future<List<SongModel>>
Used to return Songs Info from a specific Folder based in SongModel.
queryGenres([GenreSortType? sortType, OrderType? orderType, UriType? uriType, bool? requestPermission]) Future<List<GenreModel>>
Used to return Genres Info based in GenreModel.
queryPlaylists([PlaylistSortType? sortType, OrderType? orderType, UriType? uriType, bool? requestPermission]) Future<List<PlaylistModel>>
Used to return Playlists Info based in PlaylistModel.
querySongs([SongSortType? sortType, OrderType? orderType, UriType? uriType, bool? requestPermission, String? path]) Future<List<SongModel>>
Used to return Songs Info based in SongModel.
querySongsBy(SongsByType songsByType, List<Object> values, [UriType? uriType, bool? requestPermission]) Future<List<SongModel>>
Used to return Songs Info based in SongModel.
queryWithFilters(String argsVal, WithFiltersType withType, dynamic args, [bool? requestPermission]) Future<List>
Used to return Songs Info based in Something. Works like a "Search".
removeFromPlaylist(int playlistId, int audioId, [bool? requestPermission]) Future<bool>
Used to remove a specific song/audio from a specific Playlist
removePlaylist(int playlistId, [bool? requestPermission]) Future<bool>
Used to remove/delete a Playlist
renamePlaylist(int playlistId, String newName, [bool? requestPermission]) Future<bool>
Used to rename a specific Playlist
toString() String
A string representation of this object.
inherited

Operators

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