|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SearchType> sk.baka.ambient.activity.search.SearchType
public enum SearchType
Enumerates search types.
Enum Constant Summary | |
---|---|
Ampache
Searches for tracks using Ampache. |
|
Collection
Searches for tracks using an arbitrary ICollection . |
|
Library
Searches for tracks present in the collection. |
|
Magnatune
Searches for tracks present in the Magnatune collection. |
|
ShoutcastGenres
Searches for shoutcast genres. |
|
SkreemR
Searches for tracks using SkreemR. |
|
StoredPlaylists
Searches for stored playlists. |
Field Summary | |
---|---|
boolean |
returnsTrackList
If true then this search returns a list of tracks. |
Method Summary | |
---|---|
static SearchType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SearchType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SearchType Library
TrackMetadataBean
.
public static final SearchType StoredPlaylists
null
and
SearchActivity.INTENTKEY_STRING
is the name of the selected
playlist.
public static final SearchType Magnatune
TrackMetadataBean
.
public static final SearchType ShoutcastGenres
null
and
SearchActivity.INTENTKEY_STRING
is the name of the selected
genre.
public static final SearchType SkreemR
TrackMetadataBean
.
public static final SearchType Ampache
TrackMetadataBean
.
public static final SearchType Collection
ICollection
. The model is
a list of TrackMetadataBean
.
Field Detail |
---|
public final boolean returnsTrackList
true
then this search returns a list of tracks.
Method Detail |
---|
public static SearchType[] values()
for (SearchType c : SearchType.values()) System.out.println(c);
public static SearchType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |