Package com.mapfactor.sdk.favorites
Enum Class FavoritesFragment.FavoriteAction
java.lang.Object
java.lang.Enum<FavoritesFragment.FavoriteAction>
com.mapfactor.sdk.favorites.FavoritesFragment.FavoriteAction
- All Implemented Interfaces:
Serializable
,Comparable<FavoritesFragment.FavoriteAction>
,Constable
- Enclosing class:
- FavoritesFragment
An action was performed with a clicked favorite
- Since:
- 3.11
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFavorite was deletedFavorite was set as destination and navigation to it was startedFavorite was set as departureFavorite was set as destinationFavorite was set as waypointFavorite was shown on map -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FavoritesFragment.FavoriteAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ShownOnMap
Favorite was shown on map- Since:
- 3.11
-
SetAsDeparture
Favorite was set as departure- Since:
- 3.11
-
SetAsWaypoint
Favorite was set as waypoint- Since:
- 3.11
-
SetAsDestination
Favorite was set as destination- Since:
- 3.11
-
Deleted
Favorite was deleted- Since:
- 3.11
-
-
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
-