Package org.localify.user.support
Enum Class UserSeedArtistSource
- All Implemented Interfaces:
Serializable,Comparable<UserSeedArtistSource>,Constable
Represents the source of a user's seed artist.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe artist was imported from the user's Apple Music account.The artist was imported from the user's Spotify account (short term top artists).The artist was imported from the user's Spotify account (long term top artists).The artist was imported from the user's Spotify account (medium term top artists).The user manually added the artist. -
Method Summary
Modifier and TypeMethodDescriptionstatic UserSeedArtistSourceReturns the enum constant of this class with the specified name.static UserSeedArtistSource[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER
The user manually added the artist. -
SPOTIFY
The artist was imported from the user's Spotify account (short term top artists). -
APPLE_MUSIC
The artist was imported from the user's Apple Music account. -
SPOTIFY_MEDIUM_TERM
The artist was imported from the user's Spotify account (medium term top artists). -
SPOTIFY_LONG_TERM
The artist was imported from the user's Spotify account (long term top artists).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-