Interface ResponseHandler


  • public interface ResponseHandler
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onError​(ErrorPair errorPair)
      Pass an error to the response handler
      void onMessage​(ai.vay.vup.VayVup.ResponseContainer responseContainer)
      Pass a response container to the response handler
      void onReady()
      Ready to configure the session
      void stop()
      Stop analyser
    • Method Detail

      • onMessage

        void onMessage​(ai.vay.vup.VayVup.ResponseContainer responseContainer)
        Pass a response container to the response handler
        Parameters:
        responseContainer - containing the metadata or analysis result.
      • onReady

        void onReady()
        Ready to configure the session
      • onError

        void onError​(ErrorPair errorPair)
        Pass an error to the response handler
        Parameters:
        errorPair - containing the error type and the error text
      • stop

        void stop()
        Stop analyser