Interface that represents a geofence. More...

Inheritance diagram for Geofence:

Public Member Functions

SetOfGeofences getSog ()
 
int getId ()
 
String getName ()
 
Boolean enable () throws GeofencingNotAvailableException, GeofencingLowLevelException
 
Boolean disable () throws GeofencingNotAvailableException, GeofencingLowLevelException
 
Boolean getEnabled ()
 
Boolean getActive ()
 
void remove () throws GeofencingNotAvailableException, GeofencingLowLevelException
 
- Public Member Functions inherited from Subject< T extends Observer< U, U extends Event >
void subscribe (T observer) throws CannotSubscribeException
 
void unSubscribe (T observer) throws ObserverNotSubscribedException
 

Detailed Description

Interface that represents a geofence

Member Function Documentation

◆ disable()

Disable the geofence

Parameters
enabledtrue for enable, false for disable
Returns
true if change is performed, false if no effect (value was previously set).

◆ enable()

Enable the geofence

Returns
true if change is performed, false if no effect (value was previously set).

◆ getActive()

Boolean getActive ( )

Returns true if the geofence is active

Returns
true if the geofence is active

◆ getEnabled()

Boolean getEnabled ( )

Returns true if the geofence is enabled

Returns
true if the geofence is enabled

◆ getId()

int getId ( )

Gets id of the geofence

Returns
id of the geofence

◆ getName()

String getName ( )

Gets name of the geofence

Returns
name of the geofence

◆ getSog()

SetOfGeofences getSog ( )

Gets "Set Of Geofences" where the geofence is contained

Returns
"Set Of Geofences" where the geofence is contained

◆ remove()

Removes the geofence