public abstract class
FindCurrentPlaceRequest
extends Object
implements Request
implements Request
Request used by PlacesClient.findCurrentPlace(FindCurrentPlaceRequest)
.
Use builder(List)
to get the FindCurrentPlaceRequest.Builder
that constructs the FindCurrentPlaceRequest
.
Nested Class Summary
class | FindCurrentPlaceRequest.Builder | Builder for FindCurrentPlaceRequest |
Public Constructor Summary
Public Method Summary
static FindCurrentPlaceRequest.Builder | |
abstract CancellationToken |
getCancellationToken()
Returns the
CancellationToken used by PlacesClient to cancel any queued
requests. |
abstract List<Place.Field> |
getPlaceFields()
Returns the
Place.Field list to be requested. |
static FindCurrentPlaceRequest |
Inherited Method Summary
Public Constructors
public FindCurrentPlaceRequest ()
Public Methods
public static FindCurrentPlaceRequest.Builder builder (List<Place.Field> placeFields)
Returns a FindCurrentPlaceRequest.Builder
.
Parameters
placeFields | The fields of the places to be returned. See Place.Field for the
specifiable fields. Read more about Place
Data Fields.
|
---|
public abstract CancellationToken getCancellationToken ()
Returns the CancellationToken
used by PlacesClient
to cancel any queued
requests.
public abstract List<Place.Field> getPlaceFields ()
Returns the Place.Field
list to be requested.
This list should not be modified.
public static FindCurrentPlaceRequest newInstance (List<Place.Field> placeFields)
Returns a FindCurrentPlaceRequest
.
Parameters
placeFields | The fields of the places to be returned. See Place.Field for the
specifiable fields. Read more about Place
Data Fields.
|
---|