Class SearchFlow
java.lang.Object
com.trimblemaps.mapsdk.plugins.places.searchflow.SearchFlow
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for the Place Autocomplete launch intent. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclearRecentHistory(android.content.Context context) If the search history is being displayed in the search results section you should provide a setting for the user to clear their search history.static com.trimblemaps.api.geocoding.v1.models.TrimbleMapsLocationgetPlace(android.content.Intent data) Returns theTrimbleMapsLocationselected by the user.
-
Method Details
-
getPlace
public static com.trimblemaps.api.geocoding.v1.models.TrimbleMapsLocation getPlace(android.content.Intent data) Returns theTrimbleMapsLocationselected by the user.- Parameters:
data- the result Intent that was provided inActivity.onActivityResult(int, int, Intent)- Returns:
- the users selected
TrimbleMapsLocation
-
clearRecentHistory
public static void clearRecentHistory(android.content.Context context) If the search history is being displayed in the search results section you should provide a setting for the user to clear their search history. Calling this method will remove all entries from the database.- Parameters:
context- your application's context- Since:
- 0.1.0
-