Interface IBeaconNotifier


  • public interface IBeaconNotifier
    • 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 of ZBeacon objects that have been seen
      • onError

        void onError​(int code,
                     String msg)
        Callback permission + bluetooth state
        Parameters:
        code - Refer in Constant class
        msg - Refer in Constant class