Class Overview
This class defines a circular geofence object. A circular geofence is defined
by a center and a radius. The center is a
LatLongPoint
point with a
latitude ranging from -90 to +90 and longitude ranging from -180 to +180.
Summary
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
Fields |
public
LatLongPoint |
center |
Center of the circular geofence |
public
double |
radius |
Radius of the circular geofence in meters |
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
Since: API level 6
Center of the circular geofence
public
double
radius
Since: API level 6
Radius of the circular geofence in meters
Public Constructors
public
CircularGeofence
(LatLongPoint center, double radius)
Constructor to create a CircularGeofence object.
Parameters
center
| A LatLongPoint object, which is the center of the circular
geofence |
radius
| Radius in meters. |