INSCoreLocationDelegate Protocol Reference

Conforms to NSObject
Declared in INSCoreLocationDelegate.h

Overview

The INSCoreLocationDelegate protocol defines optional methods for location detection events delegation.

Beacon

– onBeaconRegionEnter:

Sent when the user enters in a beacon region.

- (void)onBeaconRegionEnter:(INSBeaconRegion *)beaconRegion

Parameters

beaconRegion

The detected region.

Declared In

INSCoreLocationDelegate.h

– onBeaconRegionExit:

Sent when the user leaves a beacon region.

- (void)onBeaconRegionExit:(INSBeaconRegion *)beaconRegion

Parameters

beaconRegion

The detected region.

Declared In

INSCoreLocationDelegate.h

– onBeaconRegion:newStateDetected:

Sent when the state of a region has changed.

- (void)onBeaconRegion:(INSBeaconRegion *)beaconRegion newStateDetected:(CLRegionState)state

Parameters

beaconRegion

The detected region.

state

The new state.

Declared In

INSCoreLocationDelegate.h

– onBeaconsRanged:inBeaconRegion:

Sent when beacons are ranged in a specific region.

- (void)onBeaconsRanged:(NSArray<INSBeacon*> *)beacons inBeaconRegion:(INSBeaconRegion *)beaconRegion

Parameters

beacons

The beacons found.

beaconRegion

The ranging region.

Declared In

INSCoreLocationDelegate.h

Geofencing

– onGeofenceAreaEnter:

Sent when the user enters in a circular geofence area.

- (void)onGeofenceAreaEnter:(INSGeofenceArea *)geofenceArea

Parameters

geofenceArea

The detected geofence area.

Declared In

INSCoreLocationDelegate.h

– onGeofenceAreaExit:

Sent when the user leaves a circular geofence area.

- (void)onGeofenceAreaExit:(INSGeofenceArea *)geofenceArea

Parameters

geofenceArea

The detected geofence area.

Declared In

INSCoreLocationDelegate.h

– onGeofenceArea:newStateDetected:

Sent when the states of a circular geofence area has changed.

- (void)onGeofenceArea:(INSGeofenceArea *)geofenceArea newStateDetected:(CLRegionState)state

Parameters

geofenceArea

The detected geofence area.

state

The new state.

Declared In

INSCoreLocationDelegate.h