Static Public Member Functions | |
static ArrayList< Poi > | getFavoritesList (boolean searchAddress, int maxTime) throws GeneralException |
Returns list of POIs in Favorites category. More... | |
static String | addStopOffPointsToFavorites (Poi poi, int maxTime) throws InvalidLocationException |
Adds user defined POI to Favorites category. More... | |
static String | removeFavoriteFromList (Poi favorite, int maxTime) throws InvalidNameException |
Removes POI from list of Favorites. More... | |
|
static |
Adds user defined POI to Favorites category.
poi | Poi instance which contains information about POI to add. |
maxTime | Maximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited. |
InvalidLocationException | the invalid location exception |
References Api.getInstance(), Api.getService(), and Poi.writeBundle().
|
static |
Returns list of POIs in Favorites category.
searchAddress | Specifies whether getFavoritesList function searches for address or not. If searchAddress=true getFavoritesList() fills address member of each FavoriteArr item (see Poi class) with corresponding address. |
maxTime | Maximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited. |
GeneralException | the general exception |
References Api.getInstance(), Api.getService(), and Poi.readBundle().
|
static |
Removes POI from list of Favorites.
favorite | Poi instance which contains information about POI to remove. |
maxTime | Maximum of time (in milliseconds) function can take. If maxTime=0 function execution is not time limited. |
InvalidNameException | the invalid name exception |
References Api.getInstance(), Api.getService(), and Poi.writeBundle().