Interface MonitorNotifier

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int INSIDE
      Indicates the Android device is inside the Region of beacons
      static int OUTSIDE
      Indicates the Android device is outside the Region of beacons
    • Field Detail

      • INSIDE

        static final int INSIDE
        Indicates the Android device is inside the Region of beacons
        See Also:
        Constant Field Values
      • OUTSIDE

        static final int OUTSIDE
        Indicates the Android device is outside the Region of beacons
        See Also:
        Constant Field Values
    • Method Detail

      • didEnterRegion

        void didEnterRegion​(Region region)
        Called when at least one beacon in a Region is visible.
        Parameters:
        region - a Region that defines the criteria of beacons to look for
      • didExitRegion

        void didExitRegion​(Region region)
        Called when no beacons in a Region are visible.
        Parameters:
        region - a Region that defines the criteria of beacons to look for
      • didDetermineStateForRegion

        void didDetermineStateForRegion​(int state,
                                        Region region)
        Called with a state value of MonitorNotifier.INSIDE when at least one beacon in a Region is visible. Called with a state value of MonitorNotifier.OUTSIDE when no beacons in a Region are visible.
        Parameters:
        state - either MonitorNotifier.INSIDE or MonitorNotifier.OUTSIDE
        region - a Region that defines the criteria of beacons to look for