Interface Listener


  • public interface Listener
    • Method Detail

      • onReady

        default void onReady​(ReadyEvent event)
        The ReadyEvent is called when the analyser is ready.
        Parameters:
        event - containing exercise information.
      • onPose

        default void onPose​(PoseEvent event)
        The PoseEvent is called when pose information is received.
        Parameters:
        event - containing pose information.
      • onMetricValues

        default void onMetricValues​(MetricValuesEvent event)
        The MetricValuesEvent is called when metric values are received.
        Parameters:
        event - containing metric values.
      • onFeedback

        default void onFeedback​(FeedbackEvent event)
        The FeedbackEvent is called when a feedback is received.
        Parameters:
        event - containing feedback information.
      • onRepetition

        default void onRepetition​(RepetitionEvent event)
        The RepetitionEvent is called when a repetition has been completed.
        Parameters:
        event - containing repetition information.
      • onActivity

        default void onActivity​(ActivityEvent event)
        The ActivityEvent is called when a activity has been completed.
        Parameters:
        event - containing activity information.
      • onError

        default void onError​(ErrorEvent event)
        The ErrorEvent is called when an error occurs.
        Parameters:
        event - containing error text and type.
      • onStop

        default void onStop()
        Called when the analyser is stopped.