VayAnalyser
public protocol VayAnalyser
A protocol that represents an Analyser behavior.
-
Adds a new Listener to the Analyser.
Notes:
- You can add a couple of listeners and get notification for each one.
Declaration
Swift
func register(listener: VayListener)
Parameters
listener
Provide callbacks for events.
-
Enqueues an AnalyserInput to be analysed. The library internally optimizes to always analyse the most recent input and thus not every enqueued input will be analysed.
Declaration
Swift
func enqueue(input: VayAnalyserInput)
Parameters
input
Input data to be analysed.
-
Stops the analyser.
Declaration
Swift
func stop()
-
Exercise definition.
Declaration
Swift
var exercise: VayExercise? { get }
-
Session information.
Declaration
Swift
var sessionInformation: VaySessionInformation? { get }
-
The last cached pose.
Declaration
Swift
var lastPose: VayPose? { get }