BeaconDetectManagerDelegate
public protocol BeaconDetectManagerDelegate : AnyObject
The delegate of BeaconDetectManager class.
-
beaconDetectManager(_:didEnterRegion:)
Default implementationDelegate called when user entered the specified region.
Default Implementation
Declaration
Swift
func beaconDetectManager(_ manager: BeaconDetectManager, didEnterRegion region: CLRegion)
Parameters
manager
The BeaconDetectManager reporting the event.
region
An region that was enterd.
-
beaconDetectManager(_:didExitRegion:)
Default implementationDelegate called when user exited the specified region.
Default Implementation
Declaration
Swift
func beaconDetectManager(_ manager: BeaconDetectManager, didExitRegion region: CLRegion)
Parameters
manager
The BeaconDetectManager reporting the event.
region
An region that was exited.
-
beaconDetectManager(_:didRangeBeacons:)
Default implementationDelegate called when one or more beacons are in range.
Default Implementation
Declaration
Swift
func beaconDetectManager(_ manager: BeaconDetectManager, didRangeBeacons beacons: [CLBeacon])
Parameters
manager
The BeaconDetectManager reporting the event.
beacons
An array of CLBeacon objects representing the beacons currently in range.
-
Delegate called when disabled location service.
Declaration
Swift
func beaconDetectManagerDidDisableLocationService(_ manager: BeaconDetectManager)
Parameters
manager
The BeaconDetectManager reporting the event.
-
Delegate called when disabled bluetooth service.
Declaration
Swift
func beaconDetectManagerDidDisableBluetoothService(_ manager: BeaconDetectManager)
Parameters
manager
The BeaconDetectManager reporting the event.