public static abstract class
FetchPlaceRequest.Builder
extends Object
Builder for FetchPlaceRequest
.
Public Constructor Summary
Builder()
|
Public Method Summary
FetchPlaceRequest |
build()
Build the
FetchPlaceRequest . |
abstract CancellationToken |
getCancellationToken()
Gets the
CancellationToken used by PlacesClient to cancel any queued
requests. |
abstract String | |
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 |
setRegionCode(String regionCode)
|
abstract FetchPlaceRequest.Builder |
setSessionToken(AutocompleteSessionToken sessionToken)
Sets the
AutocompleteSessionToken for this request. |
Inherited Method Summary
Public Constructors
public 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 |
---|