Area

public abstract class Area implements Parcelable


Area information and the area's relationship with the target location.

Areas includes precise sublocality, neighborhoods, and large compounds that are useful for describing a location.

Summary

Nested types

public abstract class Area.Builder

A builder for Area.

public enum Area.Containment

Defines the spatial relationship between the target location and the area.

Public constructors

Public methods

static Area.Builder

Returns a new instance of Builder.

abstract @Nullable Area.Containment

Defines the spatial relationship between the target location and the area.

abstract @Nullable String

The area's display name.

abstract @Nullable String

The area's display name language code.

abstract @Nullable String

The area's Place ID.

abstract @Nullable String

The area's resource name.

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

Area

public Area()

Public methods

builder

public static Area.Builder builder()

Returns a new instance of Builder.

getContainment

public abstract @Nullable Area.Containment getContainment()

Defines the spatial relationship between the target location and the area.

getDisplayName

public abstract @Nullable String getDisplayName()

The area's display name.

getDisplayNameLanguageCode

public abstract @Nullable String getDisplayNameLanguageCode()

The area's display name language code.

getId

public abstract @Nullable String getId()

The area's Place ID.

getResourceName

public abstract @Nullable String getResourceName()

The area's resource name.