Package me.clarius.sdk
Interface Cast.Listener
-
- Enclosing class:
- Cast
public static interface Cast.Listener
Clarius Cast callbacks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
buttonPressed(Button button, int count)
Button callback function.void
error(java.lang.String error)
Error callback function.void
freeze(boolean frozen)
Freeze callback function.void
newProcessedImage(java.nio.ByteBuffer data, ProcessedImageInfo info, PosInfo[] pos)
New processed image callback function.void
newRawImageFn(java.nio.ByteBuffer data, RawImageInfo info, PosInfo[] pos)
New raw image callback function.void
newSpectralImageFn(java.nio.ByteBuffer data, SpectralImageInfo info)
New spectral image callback function.void
progress(int progress)
Progress callback function.
-
-
-
Method Detail
-
error
void error(java.lang.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(java.nio.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(java.nio.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(java.nio.ByteBuffer data, SpectralImageInfo info)
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
void buttonPressed(Button button, int count)
Button callback function.- Parameters:
button
- the button that was pressed.count
- number of clicks performed.
-
-