Interface Solum.Listener

Enclosing class:
Solum

public static interface Solum.Listener
Solum callbacks.
  • Method Details

    • error

      void error(ErrorCode code, String error)
      Error callback function.
      Parameters:
      code - error code.
      error - error details (in English).
    • connectionResult

      void connectionResult(Connection result, int port, String status)
      Connection callback function.
      Parameters:
      result - the result enumeration.
      port - the UDP port used for streaming.
      status - the status message (in English).
    • certInfo

      void certInfo(int daysValid)
      Certification callback function.
      Parameters:
      daysValid - number of days valid for certificate.
    • imaging

      void imaging(ImagingState state, boolean imaging)
      Imaging callback function.
      Parameters:
      state - the imaging ready state.
      imaging - true if running, false if stopped.
    • newProcessedImage

      void newProcessedImage(ByteBuffer buffer, ProcessedImageInfo info, PosInfo[] pos)
      New processed image callback function.
      Parameters:
      buffer - image data.
      info - image info.
      pos - the positional information data tagged with the image.
    • newRawImageFn

      void newRawImageFn(ByteBuffer buffer, RawImageInfo info, PosInfo[] pos)
      New raw image callback function.
      Parameters:
      buffer - image data.
      info - image info.
      pos - the positional information data tagged with the image.
    • newSpectralImageFn

      void newSpectralImageFn(ByteBuffer buffer, SpectralImageInfo info)
      New spectral image callback function.
      Parameters:
      buffer - image data.
      info - image info.
    • newImuPortFn

      void newImuPortFn(int port)
      New imu port callback function.
      Parameters:
      port - imu udp streaming port.
    • newImuDataFn

      void newImuDataFn(PosInfo pos)
      New imu data callback function.
      Parameters:
      pos - imu data.
    • poweringDown

      void poweringDown(PowerDown reason, int seconds)
      Powering down callback function.
      Parameters:
      reason - the power down reason.
      seconds - number of seconds before powering down (0 for immediately).
    • buttonPressed

      void buttonPressed(Button button, int count)
      Button callback function.
      Parameters:
      button - the button that was pressed.
      count - number of clicks performed.
    • elementTestFn

      void elementTestFn(ElementTest result, double value)
      Element test callback function.
      Parameters:
      result - the element test result.
      value - the element test value.