public interface

Geofence

com.steerpath.sdk.geofence.Geofence
Known Indirect Subclasses

Class Overview

Describes an area that can be monitored for entries and exits. Areas can either be circular, defined by a center point and a radius, or polygons defined by one or more bounding areas and one or more hole areas.

Summary

Nested Classes
class Geofence.Builder Used for configuring and instantiating Geofence objects. 
Constants
int GEOFENCE_TRANSITION_DWELL
int GEOFENCE_TRANSITION_ENTER
int GEOFENCE_TRANSITION_EXIT
long NEVER_EXPIRE
Public Methods
abstract String getInfo()
Returns info string.
abstract String getRequestId()
Once a Geofence has been created, it is identified by its request id.
abstract int getTransitionTypes()
Returns transition types as bitmask.
abstract boolean isBeaconfence()
Chcks if this fence is a beaconfence-

Constants

public static final int GEOFENCE_TRANSITION_DWELL

Constant Value: 8 (0x00000008)

public static final int GEOFENCE_TRANSITION_ENTER

Constant Value: 4 (0x00000004)

public static final int GEOFENCE_TRANSITION_EXIT

Constant Value: 1 (0x00000001)

public static final long NEVER_EXPIRE

Constant Value: -1 (0xffffffffffffffff)

Public Methods

public abstract String getInfo ()

Returns info string.

public abstract String getRequestId ()

Once a Geofence has been created, it is identified by its request id.

Returns
  • the identifier for this geofence.

public abstract int getTransitionTypes ()

Returns transition types as bitmask.

public abstract boolean isBeaconfence ()

Chcks if this fence is a beaconfence-