Package me.clarius.sdk
Interface Cast.Listener
- Enclosing class:
Cast
public static interface Cast.Listener
Clarius Cast callbacks.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuttonPressed(Button button, int count) Button callback function.voidError callback function.voidfreeze(boolean frozen) Freeze callback function.voidnewProcessedImage(ByteBuffer data, ProcessedImageInfo info, PosInfo[] pos) New processed image callback function.voidnewRawImageFn(ByteBuffer data, RawImageInfo info, PosInfo[] pos) New raw image callback function.voidnewSpectralImageFn(ByteBuffer data, SpectralImageInfo info) New spectral image callback function.voidprogress(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.
-
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.
-