FindCurrentPlaceRequest.Builder

public abstract class FindCurrentPlaceRequest.Builder


Builder for FindCurrentPlaceRequest

Summary

Public constructors

Public methods

FindCurrentPlaceRequest

Build the FindCurrentPlaceRequest.

abstract @Nullable CancellationToken

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

abstract FindCurrentPlaceRequest.Builder

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

Public constructors

Builder

public Builder()

Public methods

build

public FindCurrentPlaceRequest build()

Build the FindCurrentPlaceRequest.

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

getCancellationToken

public abstract @Nullable CancellationToken getCancellationToken()

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

setCancellationToken

public abstract FindCurrentPlaceRequest.Builder setCancellationToken(@Nullable CancellationToken cancellationToken)

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