FetchPlaceRequest.Builder

public static abstract class FetchPlaceRequest.Builder extends Object

Builder for FetchPlaceRequest.

Public Constructor Summary

Public Method Summary

FetchPlaceRequest
build()
abstract FetchPlaceRequest.Builder
setCancellationToken(CancellationToken cancellationToken)
Sets the CancellationToken used by PlacesClient to cancel any yet-to-be-executed 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 FetchPlaceRequest.Builder setCancellationToken (CancellationToken cancellationToken)

Sets the CancellationToken used by PlacesClient to cancel any yet-to-be-executed requests.

Parameters
cancellationToken

public abstract FetchPlaceRequest.Builder setSessionToken (AutocompleteSessionToken sessionToken)

Sets the AutocompleteSessionToken for this request.

Parameters
sessionToken

发送以下问题的反馈:

此网页
Places SDK for Android