Interface OnFileError


public interface OnFileError
Callback type for file error events.
  • Method Summary

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

    • onFileError

      void onFileError(FileReference fileRef, ErrorCode error)
      Triggered when a file 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:
      fileRef - a FileReference for which the problem happened
      error - error code describing a problem