Package ai.vay.client.api
Interface Analyser
-
public interface Analyser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
enqueueInput(AnalyserInput input)
Enqueues anAnalyserInput
to be analysed.Exercise
getExercise()
Gets anExercise
.Pose
getLastPose()
Gets the lastPose
.SessionInformation
getSessionInformation()
Gets information about the session.void
registerListener(Listener listener)
Adds a newListener
to the analyser.void
stop()
Stops the analyser.
-
-
-
Method Detail
-
registerListener
void registerListener(Listener listener)
Adds a newListener
to the analyser.- Parameters:
listener
- The listener to be added to the analyser.
-
enqueueInput
void enqueueInput(AnalyserInput input)
Enqueues anAnalyserInput
to be analysed. The library internally optimizes to always analyse the most recent input and thus not every enqueued input will be analysed.- Parameters:
input
- The input to be analysed.
-
stop
void stop()
Stops the analyser.
-
getSessionInformation
SessionInformation getSessionInformation()
Gets information about the session.- Returns:
- session information.
-
-