AutocompletePrediction.Builder

public static abstract class AutocompletePrediction.Builder extends Object

Builder for AutocompletePrediction.

Public Constructor Summary

Public Method Summary

AutocompletePrediction
abstract Integer
abstract String
abstract List<Place.Type>
abstract String
abstract String
abstract AutocompletePrediction.Builder
setDistanceMeters(Integer distanceMeters)
abstract AutocompletePrediction.Builder
setFullText(String fullText)
abstract AutocompletePrediction.Builder
abstract AutocompletePrediction.Builder
setPrimaryText(String primaryText)
abstract AutocompletePrediction.Builder
setSecondaryText(String secondaryText)

Inherited Method Summary

Public Constructors

public AutocompletePrediction.Builder ()

Public Methods

public AutocompletePrediction build ()

Build the AutocompletePrediction.

Mutable members (e.g List) will be converted to immutable versions.

public abstract Integer getDistanceMeters ()

public abstract String getFullText ()

public abstract List<Place.Type> getPlaceTypes ()

public abstract String getPrimaryText ()

public abstract String getSecondaryText ()

public abstract AutocompletePrediction.Builder setDistanceMeters (Integer distanceMeters)

Parameters
distanceMeters

public abstract AutocompletePrediction.Builder setFullText (String fullText)

Parameters
fullText

public abstract AutocompletePrediction.Builder setPlaceTypes (List<Place.Type> placeTypes)

Parameters
placeTypes

public abstract AutocompletePrediction.Builder setPrimaryText (String primaryText)

Parameters
primaryText

public abstract AutocompletePrediction.Builder setSecondaryText (String secondaryText)

Parameters
secondaryText