public class

CircularGeofence

extends Geofence
implements Parcelable Serializable
java.lang.Object
   ↳ com.samsung.android.knox.location.Geofence
     ↳ com.samsung.android.knox.location.CircularGeofence

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.

Since
API level 6
MDM 4.0

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public LatLongPoint center Center of the circular geofence
public double radius Radius of the circular geofence in meters
[Expand]
Inherited Fields
From class com.samsung.android.knox.location.Geofence
Public Constructors
CircularGeofence(LatLongPoint center, double radius)
Constructor to create a CircularGeofence object.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public LatLongPoint center

Since: API level 6

Center of the circular geofence

Since
API level 6
MDM 4.0

public double radius

Since: API level 6

Radius of the circular geofence in meters

Since
API level 6
MDM 4.0

Public Constructors

public CircularGeofence (LatLongPoint center, double radius)

Since: API level 6

Constructor to create a CircularGeofence object.

Parameters
center A LatLongPoint object, which is the center of the circular geofence
radius Radius in meters.
Since
API level 6
MDM 4.0