Login to follow
Camera Recorder Plugin

Camera Recorder Plugin (ODC)

Stable version 2.2.2 (Compatible with ODC)
Uploaded on 6 Feb by Caio Magalhães
Camera Recorder Plugin

Camera Recorder Plugin (ODC)

Documentation
2.2.2

In order to use the Camera Recorder Plugin, reference it in your mobile app, and before using one of the available plugin functionalities, always call the CheckCameraRecorderPlugin action and assert that its IsAvailable output is True.


Important to Know


Videos and photos taken with this plugin are not deleted automatically, so do not forget to remove them after use to not bloat the user's phone. Call the CameraRecorderFileDelete action when the file is no longer useful.


Possible Error Codes

  • CAMREC-ERR-0010: Unknown or generic error.
  • CAMREC-ERR-0011: Capacitor not available. Please make sure the app is up to date, then try again.
  • CAMREC-ERR-0012: Camera Recorder Plugin is unavailable. Please make sure the app is up to date, then try again.
  • CAMREC-ERR-0013: Camera is not running. Make sure that the CameraRecorderStart action was called successfully.
  • CAMREC-ERR-0014: Video mode is not enabled. Set the EnableVideoMode to True when calling the CameraRecorderStart action.
  • CAMREC-ERR-0015: Camera and/or microphone permission was requested again after access had already been granted.
  • CAMREC-ERR-0016: Unable to perform action because there is a recording in progress.
  • CAMREC-ERR-0017: File Plugin is unavailable. Please make sure the app is up to date, then try again.
  • CAMREC-ERR-0018: Error while reading file using File Plugin.
  • CAMREC-ERR-0019: Error while deleting file using File Plugin.
  • CAMREC-ERR-0020: Feature not compatible with PWA.
  • CAMREC-ERR-0021: Request timed-out while waiting for a previous Camera Recorder action to finish.