Package me.clarius.sdk
Interface Cast.Listener
-
- Enclosing class:
- Cast
public static interface Cast.ListenerClarius Cast callbacks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbuttonPressed(Button button, int count)Button callback function.voiderror(java.lang.String error)Error callback function.voidfreeze(boolean frozen)Freeze callback function.voidnewProcessedImage(java.nio.ByteBuffer data, ProcessedImageInfo info, PosInfo[] pos)New processed image callback function.voidnewRawImageFn(java.nio.ByteBuffer data, RawImageInfo info, PosInfo[] pos)New raw image callback function.voidnewSpectralImageFn(java.nio.ByteBuffer data, SpectralImageInfo info)New spectral image callback function.voidprogress(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.
-
-