YtFlutterMusicapiPlatform class
abstract
- Inheritance
-
- Object
- PlatformInterface
- YtFlutterMusicapiPlatform
- Implementers
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
-
cancelAllSearches()
→ Future<Map<String, dynamic>>
-
-
dispose()
→ Future<Map<String, dynamic>>
-
-
fetchLyrics({required String songName, required String artistName})
→ Future<Map<String, dynamic>>
-
-
getArtistSongs({required String artistName, int limit = 25, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Future<Map<String, dynamic>>
-
-
getAudioUrlFast({required String videoId})
→ Future<Map<String, dynamic>>
-
Only returns the audio URL using videoId, no other metadata
-
getAudioUrlFlexible({String? title, String? artist, String? videoId, String audioQuality = 'HIGH'})
→ Future<Map<String, dynamic>>
-
Get audio URL using flexible parameters
-
getCharts({required String country, required int limit, required String thumbQuality, required String audioQuality, required bool includeAudioUrl, required bool includeAlbumArt})
→ Future<Map<String, dynamic>>
-
Get charts data as a batch operation
-
getRelatedSongs({required String songName, required String artistName, int limit = 25, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Future<Map<String, dynamic>>
-
-
initialize({String? proxy, String country = 'IN'})
→ Future<Map<String, dynamic>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
searchMusic({required String query, int limit = 25, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Future<Map<String, dynamic>>
-
-
streamArtistAlbums({required String artistName, int maxAlbums = 5, int maxSongsPerAlbum = 10, int maxWorkers = 5, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
-
streamArtistSingles({required String artistName, int maxSingles = 5, int maxSongsPerSingle = 10, int maxWorkers = 5, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
-
streamArtistSongs({required String artistName, int limit = 80, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
-
streamCharts({required String country, required int limit, required String thumbQuality, required String audioQuality, required bool includeAudioUrl, required bool includeAlbumArt})
→ Stream<Map<String, dynamic>>
-
Stream charts data for a specific country
-
streamRadio({required String videoId, int limit = 100, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
-
streamRelatedSongs({required String songName, required String artistName, int limit = 100, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
-
streamSearchResults({required String query, int limit = 50, String thumbQuality = 'VERY_HIGH', String audioQuality = 'HIGH', bool includeAudioUrl = true, bool includeAlbumArt = true})
→ Stream<Map<String, dynamic>>
-
-
toString()
→ String
-
A string representation of this object.
inherited