Interface OnError
public interface OnError
Callback type for error events.
-
Method Summary
-
Method Details
-
onError
Triggered when an error happens.
Note: you should NOT try to call `camera.disconnect()` directly from this callback. If you intend to close the camera connection you should do that in a separate thread.- Parameters:
error
- error code describing a problem
-