AutocompletePrediction.Builder

public static abstract class AutocompletePrediction.Builder extends Object

Builder for AutocompletePrediction.

Public Constructor Summary

Public Method Summary

AutocompletePrediction
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 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

Enviar comentários sobre…