LocationBias

public interface LocationBias extends Parcelable

Known direct subclasses
CircularBounds

Represents a circular-shaped bounds around a geographical area, defined by the latitude-longitude coordinates of the center and a radius.

RectangularBounds

Represents a rectangle-shaped bounds around a geographical area, defined by the latitude-longitude coordinates of the southwest and northeast corners.


Defines geographical location biases.

Any API using LocationBias will favor results within the specified geographical bounds.

LocationBias is similar to LocationRestriction. However, while LocationRestriction is used for specifying the region which the results must be within, LocationBias is for specifying the region that the results will likely be within or near. Keep in mind that when using LocationBias, results can still be outside of the specified area.

Summary

Inherited Constants

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

Inherited methods

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