Package com.zing.zalo.zalosdk.beaconsdk
Interface IBeaconNotifier
-
public interface IBeaconNotifier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonBeaconConnected(ZBeacon beacon)Call when enter beacon regionvoidonBeaconDisconnected(ZBeacon beacon)Call when exit beacon regionvoidonError(int code, String msg)Callback permission + bluetooth statevoidonRangeBeacons(List<ZBeacon> foundBeacons)Called to give an estimate of the mDistance to visible beacons
-
-
-
Method Detail
-
onBeaconConnected
void onBeaconConnected(ZBeacon beacon)
Call when enter beacon region- Parameters:
beacon-
-
onBeaconDisconnected
void onBeaconDisconnected(ZBeacon beacon)
Call when exit beacon region- Parameters:
beacon-
-
onRangeBeacons
void onRangeBeacons(List<ZBeacon> foundBeacons)
Called to give an estimate of the mDistance to visible beacons- Parameters:
foundBeacons- a collection ofZBeaconobjects that have been seen
-
onError
void onError(int code, String msg)Callback permission + bluetooth state- Parameters:
code- Refer in Constant classmsg- Refer in Constant class
-
-