TestRecorderDelegate
public protocol TestRecorderDelegate: class
The delegate of a TestSessionRecorder
object must adopt the TestRecorderDelegate
protocol. Methods of the protocol
allow the delegate to observe recorder state changes and signal strength changes.
-
Indicates the recorder state has changed.
Declaration
Swift
func recorderStateChanged(_ state: TestRecorderState)
Parameters
state
The updated state of the recorder.
-
Indicates the sensor’s strength has changed.
Declaration
Swift
func signalStrengthChanged(_ strength: Double)
Parameters
strength
The strength of the sensor’s signal (normalized betwen 0.0 and 1.0).