FindCurrentPlaceRequest

public abstract class FindCurrentPlaceRequest extends Object
implements Request

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 yet-to-be-executed 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)

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 yet-to-be-executed 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)

Parameters
placeFields The fields of the places to be returned. See Place.Field for the specifiable fields. Read more about Place Data Fields.