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 user will enter a tunnel.
Declaration
Swift
optional func tunnelIntersectionManager(_ manager: TunnelIntersectionManager, willEnableAnimationAt location: CLLocation)
Parameters
manager
The
TunnelIntersectionManager
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 will exit a tunnel.
Declaration
Swift
optional func tunnelIntersectionManager(_ manager: TunnelIntersectionManager, willDisableAnimationAt location: CLLocation)
Parameters
manager
The
TunnelIntersectionManager
that currently sends the location updates.location
The user’s current location where the tunnel was detected.