SensorMonitorDelegate
public protocol SensorMonitorDelegate: class
The delegate of a SensorMonitor
object must adopt the SensorMonitorDelegate
protocol. Methods of the protocol
allow the delegate to observe sensor plugged in state changes.
-
Tells the delegate when the state of the sensor has changed.
Declaration
Swift
func sensorStateDidChange(_ monitor: SensorMonitor)