Package me.clarius.sdk
Interface Cast.ReadRawDataCallback
- Enclosing class:
Cast
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback when the raw data was retrieved from the probe.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(int result, ByteBuffer data) Called with the request result.
-
Method Details
-
accept
Called with the request result.- Parameters:
result
- the size in bytes of the data package or -1 if an error occurred.data
- the raw data.
-