SearchClient class
Queries SoundCloud about users, tracks, and playlists.
Constructors
- SearchClient.new(Client httpClient, SoundcloudController controller)
-
Creates a new SearchClient that uses the provided
httpClient
andcontroller
.
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
-
call(
String query, {SearchFilter searchFilter = SearchFilter.none, int offset = defaultOffset, int limit = defaultLimit}) → Stream< Iterable< SearchResult> > -
Searches for the provided
query
with the specifiedsearchFilter
. -
getAlbums(
String query, {int offset = defaultOffset, int limit = defaultLimit}) → Stream< Iterable< PlaylistSearchResult> > -
Searches for albums matching the provided
query
. -
getPlaylists(
String query, {int offset = defaultOffset, int limit = defaultLimit}) → Stream< Iterable< PlaylistSearchResult> > -
Searches for playlists or albums matching the provided
query
. -
getPlaylistsWithoutAlbums(
String query, {int offset = defaultOffset, int limit = defaultLimit}) → Stream< Iterable< PlaylistSearchResult> > -
Searches for only playlists matching the provided
query
. -
getSuggestions(
String query) → Future< Iterable< String> > -
Gets suggestions for the provided
query
. -
getTracks(
String query, {int offset = defaultOffset, int limit = defaultLimit}) → Stream< Iterable< TrackSearchResult> > -
Searches for tracks matching the provided
query
. -
getUsers(
String query, {int offset = defaultOffset, int limit = defaultLimit}) → Stream< Iterable< UserSearchResult> > -
Searches for users matching the provided
query
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
search(
String query, {SearchFilter searchFilter = SearchFilter.none, int offset = defaultOffset, int limit = defaultLimit}) → Stream< Iterable< SearchResult> > -
Searches for the provided
query
with the specifiedsearchFilter
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited