SensorDelegateLogger
public class SensorDelegateLogger : SensorDelegate, Resettable
Default sensor delegate with convenient functions for writing data to log file.
-
Undocumented
Declaration
Swift
public init()
-
Undocumented
Declaration
Swift
public init(filename: String)
-
Undocumented
Declaration
Swift
public func reset()
-
Declaration
Swift
public func sensor(_ sensor: SensorType, didVisit: Location?)
-
Declaration
Swift
public func sensor(_ sensor: SensorType, didDetect: TargetIdentifier)
-
Declaration
Swift
public func sensor(_ sensor: SensorType, didUpdateState: SensorState)
-
Declaration
Swift
public func sensor(_ sensor: SensorType, didReceive: Data, fromTarget: TargetIdentifier)
-
Declaration
Swift
public func sensor(_ sensor: SensorType, didMeasure: Proximity, fromTarget: TargetIdentifier)
-
Declaration
Swift
public func sensor(_ sensor: SensorType, didRead: PayloadData, fromTarget: TargetIdentifier)
-
Declaration
Swift
public func sensor(_ sensor: SensorType, didShare: [PayloadData], fromTarget: TargetIdentifier)
-
Declaration
Swift
public func sensor(_ sensor: SensorType, didMeasure: Proximity, fromTarget: TargetIdentifier, withPayload: PayloadData)