MethodChannelSimpleMediaQuery class
An implementation of SimpleMediaQueryPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- SimpleMediaQueryPlatform
- MethodChannelSimpleMediaQuery
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCachedArtworks(
) → Future< void> -
override
-
getDeviceInfo(
) → Future< Map< String, dynamic> > -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
hasPermission(
) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryAlbums(
{QueryOptions? options}) → Future< List< Map< >String, dynamic> > -
override
-
queryArtists(
{QueryOptions? options}) → Future< List< Map< >String, dynamic> > -
override
-
queryArtwork(
int id, ArtworkType type, {ArtworkSize size = ArtworkSize.medium}) → Future< ArtworkModel> -
override
-
queryAudios(
{AudioQueryOptions? options}) → Future< List< AudioModel> > -
override
-
queryAudiosFromAlbum(
int albumId, {AudioQueryOptions? options}) → Future< List< AudioModel> > -
override
-
queryAudiosFromArtist(
int artistId, {AudioQueryOptions? options}) → Future< List< AudioModel> > -
override
-
queryAudiosFromGenre(
int genreId, {AudioQueryOptions? options}) → Future< List< AudioModel> > -
override
-
queryAudiosFromPath(
String path, {AudioQueryOptions? options}) → Future< List< AudioModel> > -
override
-
queryDocuments(
{QueryOptions? options}) → Future< List< DocumentModel> > -
override
-
queryDocumentsFromPath(
String path, {QueryOptions? options}) → Future< List< DocumentModel> > -
override
-
queryFolders(
{QueryOptions? options}) → Future< List< FolderModel> > -
override
-
queryFoldersFromPath(
String path, {QueryOptions? options}) → Future< List< FolderModel> > -
override
-
queryGenres(
{QueryOptions? options}) → Future< List< Map< >String, dynamic> > -
override
-
queryVideos(
{VideoQueryOptions? options}) → Future< List< VideoModel> > -
override
-
queryVideosFromPath(
String path, {VideoQueryOptions? options}) → Future< List< VideoModel> > -
override
-
requestPermission(
) → Future< bool> -
override
-
scanMedia(
String path) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited