Package me.clarius.sdk
Interface Cast.ConnectionResult
- 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.
Connection callback.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(boolean result, int imagePort, int imuPort, boolean swRevMatch) Called with the request result.
-
Method Details
-
accept
void accept(boolean result, int imagePort, int imuPort, boolean swRevMatch) Called with the request result.- Parameters:
result
- the result (success/fail).imagePort
- the UDP port that will be used for image streaming (-1 if failed).imuPort
- the UDP port that will be used for IMU streaming (-1 if failed).swRevMatch
- whether the SW revisions between the API and the Clarius App match.
-