TunnelIntersectionManagerDelegate
public protocol TunnelIntersectionManagerDelegate: class
The TunnelIntersectionManagerDelegate
protocol provides methods for responding to events where a user enters or exits a tunnel.
-
Called immediately when the location manager detects a tunnel on a route.
Declaration
Swift
optional func tunnelIntersectionManager(_ manager: CLLocationManager, willEnableAnimationAt location: CLLocation)
Parameters
manager
The location manager that currently sends the location updates.
location
The user’s current location where the tunnel was detected.
-
Called immediately when the location manager detects the user’s current location is no longer within a tunnel.
Declaration
Swift
optional func tunnelIntersectionManager(_ manager: CLLocationManager, willDisableAnimationAt location: CLLocation)
Parameters
manager
The location manager that currently sends the location updates.
location
The user’s current location where the tunnel was detected.