Interface OnError


public interface OnError
Callback type for error events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Triggered when an error happens.
  • Method Details

    • onError

      void onError(ErrorCode error)
      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