It's the 15th anniversary of Google Maps Platform!   Check out the latest news and announcements.

FetchPlaceRequest.Builder

public static abstract class FetchPlaceRequest.Builder extends Object

Builder for FetchPlaceRequest.

Public Constructor Summary

Public Method Summary

FetchPlaceRequest
build()
abstract CancellationToken
getCancellationToken()
Gets the CancellationToken used by PlacesClient to cancel any queued requests.
abstract AutocompleteSessionToken
getSessionToken()
Gets the AutocompleteSessionToken for this request.
abstract FetchPlaceRequest.Builder
setCancellationToken(CancellationToken cancellationToken)
Sets the CancellationToken used by PlacesClient to cancel any queued requests.
abstract FetchPlaceRequest.Builder
setSessionToken(AutocompleteSessionToken sessionToken)
Sets the AutocompleteSessionToken for this request.

Inherited Method Summary

Public Constructors

public FetchPlaceRequest.Builder ()

Public Methods

public FetchPlaceRequest build ()

Build the FetchPlaceRequest.

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

public abstract CancellationToken getCancellationToken ()

Gets the CancellationToken used by PlacesClient to cancel any queued requests.

public abstract AutocompleteSessionToken getSessionToken ()

Gets the AutocompleteSessionToken for this request.

public abstract FetchPlaceRequest.Builder setCancellationToken (CancellationToken cancellationToken)

Sets the CancellationToken used by PlacesClient to cancel any queued requests.

Parameters
cancellationToken

public abstract FetchPlaceRequest.Builder setSessionToken (AutocompleteSessionToken sessionToken)

Sets the AutocompleteSessionToken for this request.

Parameters
sessionToken