Class SearchFlow.IntentBuilder
java.lang.Object
com.trimblemaps.mapsdk.plugins.places.searchflow.SearchFlow.IntentBuilder
- Enclosing class:
SearchFlow
Builder for the Place Autocomplete launch intent.
After setting the required and optional parameters, call PlaceAutocomplete.IntentBuilder.build(Activity) and pass the intent to Activity.startActivityForResult(Intent, int).
- Since:
- 0.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new builder that creates an intent to launch the autocomplete activity. -
Method Summary
Modifier and TypeMethodDescriptionandroid.content.Intentbuild(android.app.Activity activity) Retrieves the current Intent as configured by the Builder.searchflowOptions(SearchFlowOptions placeOptions)
-
Constructor Details
-
IntentBuilder
public IntentBuilder()Creates a new builder that creates an intent to launch the autocomplete activity.- Since:
- 0.1.0
-
-
Method Details
-
searchflowOptions
-
build
public android.content.Intent build(android.app.Activity activity) Retrieves the current Intent as configured by the Builder.- Parameters:
activity- the current activity which you are launching the autocomplete activity from- Returns:
- the current Intent configured by this builder
- Since:
- 0.1.0
-