-
Notifications
You must be signed in to change notification settings - Fork 10
Delegate implementation
MGasztold edited this page Dec 15, 2016
·
4 revisions
The application may implement a delegate object to intercept the processing and notifications upon area entered or exited events.
There is one delegate interface:
com.ubudu.sdk.UbuduAreaDelegate
It can be configured with the setAreaDelegate method of com.ubudu.sdk.UbuduAreaManager class (which is an abstract class extended by both UbuduBeaconManager and UbuduGeofenceManager).
The delegate will receive generic com.ubudu.sdk.UbuduArea objects which can be casted to UbuduBeaconRegion or UbuduGeofence for access to specific methods for doing some custom processing.
| automatic notification sending is enabled | delegate | result |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|