GoogleMapsLinks

public abstract class GoogleMapsLinks implements Parcelable


Links to trigger different Google Maps actions.

Summary

Nested types

public abstract class GoogleMapsLinks.Builder

Builder for GoogleMapsLinks.

Public constructors

Public methods

static GoogleMapsLinks.Builder

Returns a Builder for GoogleMapsLinks.

abstract @Nullable Uri

Returns a link to show the directions to the place.

abstract @Nullable Uri

Returns a link to show photos of this place.

abstract @Nullable Uri

Returns a link to show this place.

abstract @Nullable Uri

Returns a link to show reviews of this place.

abstract @Nullable Uri

Returns a link to write a review for this place.

Inherited Constants

From android.os.Parcelable
static final int
static final int
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int
int
abstract void
writeToParcel(Parcel p, int p1)

Public constructors

GoogleMapsLinks

public GoogleMapsLinks()

Public methods

builder

public static GoogleMapsLinks.Builder builder()

Returns a Builder for GoogleMapsLinks.

getDirectionsUri

public abstract @Nullable Uri getDirectionsUri()

Returns a link to show the directions to the place. The link only populates the destination location and uses the default travel mode `DRIVE`.

getPhotosUri

public abstract @Nullable Uri getPhotosUri()

Returns a link to show photos of this place.

getPlaceUri

public abstract @Nullable Uri getPlaceUri()

Returns a link to show this place.

getReviewsUri

public abstract @Nullable Uri getReviewsUri()

Returns a link to show reviews of this place.

getWriteAReviewUri

public abstract @Nullable Uri getWriteAReviewUri()

Returns a link to write a review for this place.