AmbientNoiseMonitorDelegate
public protocol AmbientNoiseMonitorDelegate: class
The delegate of the AmbientNoiseMonitor object must adopt the AmbientNoiseMonitorDelegate
protocol. This allows
the delegate to observe whenever isBelowThreshold
state changes.
-
Tells the delegate that the monitor state changed.
Declaration
Swift
func ambientNoiseMonitorDidChangeState(_ monitor: AmbientNoiseMonitor)