OnAudioQueryPlugin class
A web implementation of the OnAudioQueryWeb plugin.
- Inheritance
-
- Object
- PlatformInterface
- OnAudioQueryPlatform
- OnAudioQueryPlugin
Constructors
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) → Future< bool> -
Used to add a specific song/audio to a specific Playlist
inherited
-
createPlaylist(
String name, {String? author, String? desc}) → Future< bool> -
Used to create a Playlist
inherited
-
moveItemTo(
int playlistId, int from, int to) → Future< bool> -
Used to change song/audio position from a specific Playlist
inherited
-
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.
inherited
-
permissionsStatus(
) → Future< bool> -
Used to check Android permissions status
inherited
-
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.
inherited
-
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 inSongModel
.inherited -
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
.inherited -
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
inherited
-
removePlaylist(
int playlistId) → Future< bool> -
Used to remove/delete a Playlist
inherited
-
renamePlaylist(
int playlistId, String newName) → Future< bool> -
Used to rename a specific Playlist
inherited
-
scanMedia(
String path) → Future< bool> -
Used to scan the given
path
inherited -
setLogConfig(
LogConfig? logConfig) → Future< void> -
Used to set the logging behavior.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void -
Registers this class as the default instance of
OnAudioQueryPlatform
.