Package me.clarius.sdk
Interface Solum.Listener
- Enclosing class:
Solum
public static interface Solum.Listener
Solum callbacks.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buttonPressed
(Button button, int count) Button callback function.void
certInfo
(int daysValid) Certification callback function.void
connectionResult
(Connection result, int port, String status) Connection callback function.void
Error callback function.void
imaging
(ImagingState state, boolean imaging) Imaging callback function.void
newImuDataFn
(PosInfo pos) New imu data callback function.void
newImuPortFn
(int port) New imu port callback function.void
newProcessedImage
(ByteBuffer buffer, ProcessedImageInfo info, PosInfo[] pos) New processed image callback function.void
newRawImageFn
(ByteBuffer buffer, RawImageInfo info, PosInfo[] pos) New raw image callback function.void
newSpectralImageFn
(ByteBuffer buffer, SpectralImageInfo info) New spectral image callback function.void
poweringDown
(PowerDown reason, int seconds) Powering down callback function.
-
Method Details
-
error
Error callback function.- Parameters:
code
- error code.error
- error details (in English).
-
connectionResult
Connection callback function.- Parameters:
result
- the result enumeration.port
- the UDP port used for streaming.status
- the status message (in English).
-
certInfo
void certInfo(int daysValid) Certification callback function.- Parameters:
daysValid
- number of days valid for certificate.
-
imaging
Imaging callback function.- Parameters:
state
- the imaging ready state.imaging
- true if running, false if stopped.
-
newProcessedImage
New processed image callback function.- Parameters:
buffer
- image data.info
- image info.pos
- the positional information data tagged with the image.
-
newRawImageFn
New raw image callback function.- Parameters:
buffer
- image data.info
- image info.pos
- the positional information data tagged with the image.
-
newSpectralImageFn
New spectral image callback function.- Parameters:
buffer
- image data.info
- image info.
-
newImuPortFn
void newImuPortFn(int port) New imu port callback function.- Parameters:
port
- imu udp streaming port.
-
newImuDataFn
New imu data callback function.- Parameters:
pos
- imu data.
-
poweringDown
Powering down callback function.- Parameters:
reason
- the power down reason.seconds
- number of seconds before powering down (0 for immediately).
-
buttonPressed
Button callback function.- Parameters:
button
- the button that was pressed.count
- number of clicks performed.
-