Package me.clarius.sdk
Interface Cast.Listener
- Enclosing class:
Cast
public static interface Cast.Listener
Clarius Cast callbacks.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buttonPressed
(Button button, int count) Button callback function.void
Error callback function.void
freeze
(boolean frozen) Freeze callback function.void
newImuDataFn
(PosInfo pos) New imu data callback function.void
newProcessedImage
(ByteBuffer data, ProcessedImageInfo info, PosInfo[] pos) New processed image callback function.void
newRawImageFn
(ByteBuffer data, RawImageInfo info, PosInfo[] pos) New raw image callback function.void
newSpectralImageFn
(ByteBuffer data, SpectralImageInfo info) New spectral image callback function.void
progress
(int progress) Progress callback function.
-
Method Details
-
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
New processed image callback function.- Parameters:
data
- the image data.info
- the image info.pos
- the positional information data tagged with the image.
-
newRawImageFn
New raw image callback function.- Parameters:
data
- the image data.info
- the image info.pos
- the positional information data tagged with the image.
-
newSpectralImageFn
New spectral image callback function.- Parameters:
data
- the image data.info
- the image info.
-
newImuDataFn
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
Button callback function.- Parameters:
button
- the button that was pressed.count
- number of clicks performed.
-