Nafian Wildana Nafian Wildana - 1 year ago 86
iOS Question

How to determine region event on list of beacon on android

I am using beacon from Sensoro, in iOS SDK I can monitor a region, and the SDK can tell me the entering and exiting events by implementing :

- (void)beaconManager:(SBKBeaconManager *)beaconManager didDetermineState:(SBKRegionState)state forRegion:(SBKBeaconID *)region;

in Android SDK there is no functionality about this event, i have contacted the support but there is no response from their developer, just their product marketing support, so maybe there is an idea at least a similar way to get event when user leaving/entering the region. I get stuck on there, because for example there is a 100 beacon in region 'A', and user event is entering this region, and there is also 10 beacon of region 'B', so user entering this region too, so when i must triggered for leaving region of region 'A' or 'B' ? so I think there is so much process on there to check one by one every update. Any idea?

Answer Source

Is there anything specific about the Sensor SDK that you need to use? As far as I know, they are standard iBeacon transmitters, so you can use any beacon SDK. On iOS, CoreLocation provides a didDetermineState:forRegion: callback, and on Android the Android Beacon Library provides an equivalent didDetermibeStateForRegion callback.

To use these SDKs, you just need to know your Sensoro beacon's ProximityUUID to start beacon monitoring.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download