Interface Cast.Listener

Enclosing class:
Cast

public static interface Cast.Listener
Clarius Cast callbacks.
  • Method Details

    • error

      void error(String error)
      Error callback function.
      Parameters:
      error - error details (in English).
    • freeze

      void freeze(boolean frozen)
      Freeze callback function.
      Parameters:
      frozen - true if imaging is currently frozen.
    • newProcessedImage

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

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

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

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

      void progress(int progress)
      Progress callback function.
      Parameters:
      progress - the current progress in percent.
    • buttonPressed

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