Class PlaceAutocomplete.IntentBuilder
java.lang.Object
com.trimblemaps.mapsdk.plugins.places.autocomplete.PlaceAutocomplete.IntentBuilder
- Enclosing class:
PlaceAutocomplete
Builder for the Place Autocomplete launch intent.
After setting the required and optional parameters, call 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.placeOptions(PlaceOptions 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
-
placeOptions
-
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
-