Class SearchFlow.IntentBuilder

java.lang.Object
com.trimblemaps.mapsdk.plugins.places.searchflow.SearchFlow.IntentBuilder
Enclosing class:
SearchFlow

public static class SearchFlow.IntentBuilder extends Object
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 Details

    • IntentBuilder

      public IntentBuilder()
      Creates a new builder that creates an intent to launch the autocomplete activity.
      Since:
      0.1.0
  • Method Details

    • searchflowOptions

      public SearchFlow.IntentBuilder searchflowOptions(SearchFlowOptions 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