public interface RECOMonitoringListener
strtMonitoringForRegion method is called.
RECOMonitoringListener 인터페이스는 strtMonitoringForRegion 메소드의 실행 시, 결과 값을 전달받기 위한 인터페이스 입니다.
| Modifier and Type | Method and Description |
|---|---|
void |
didDetermineStateForRegion(RECOBeaconRegionState state,
RECOBeaconRegion region)
Method to tell the state of the given region.
|
void |
didEnterRegion(RECOBeaconRegion region)
Method to tell the user entered the given region.
|
void |
didExitRegion(RECOBeaconRegion region)
Method to tell the user left the given region.
|
void |
didStartMonitoringForRegion(RECOBeaconRegion region)
Method to tell the given region is being monitored.
|
void didEnterRegion(RECOBeaconRegion region)
사용자가 해당 region에 들어갔음을 알려주는 메소드.
사용자가 해당 region에 들어갔음을 알립니다.
region - RECOBeaconRegion object containing information about the region that was entered
region - 진입한 region의 정보를 담고 있는 RECOBeaconRegion 객체void didExitRegion(RECOBeaconRegion region)
사용자가 해당 region에서 떠났음을 알려주는 메소드.
사용자가 해당 region에서 나왔음을 알립니다.
region - RECOBeaconRegion object containing information about the region that was exited
region - 떠난 region의 정보를 담고 있는 RECOBeaconRegion 객체void didStartMonitoringForRegion(RECOBeaconRegion region)
해당 region에 대한 monitoring이 시작됐음을 알려주는 메소드.
해당 region에 대한 monitoring이 시작됐음을 알립니다.
region - RECOBeaconRegion object that is being monitored
region - monitoring이 시작된 RECOBeaconRegion 객체void didDetermineStateForRegion(RECOBeaconRegionState state, RECOBeaconRegion region)
RECOBeaconManager calls this method in addition to calling the didEnterRegion(RECOBeaconRegion) and didExitRegion(RECOBeaconRegion) whenever there is a boundray transition for a region. RECOBeaconManager also calls this method in response to a call to its requestStateForRegion method.
해당 region에 대한 상태를 알려주는 메소드.
해당 region에 대한 상태를 알립니다.
RECOBeaconManager는 region의 경계를 통과할 때마다 didEnterRegion(RECOBeaconRegion) 메소드나 didExitRegion(RECOBeaconRegion) 메소드와 함께 이 메소드를 호출합니다.
requestStateForRegion 메소드가 호출된 후에도 이 메소드를 호출합니다.
state - RECOBeaconRegionState of the given regionregion - RECOBeaconRegion object whose state was deteremined
state - RECOBeaconRegionState 형태의 해당 region의 상태region - 현재 상태를 알리는 region의 정보를 담고 있는 RECOBeaconRegion 객체