Optional allowOptional directionCamera direction when source is CAMERA; defaults to Rear
Optional heightTarget height; aspect ratio is preserved when only one dimension is given
Optional promptLabel of the cancel button. Not supported on HarmonyOS (the ActionMenu is dismissed via back/overlay) — accepted for @capacitor/camera drop-in compatibility, ignored.
Optional promptActionSheet title for the PROMPT source (default 'Photo')
Optional promptActionSheet label for choosing the gallery (default 'From Photos')
Optional promptActionSheet label for choosing the camera (default 'Take Picture')
Optional qualityJPEG quality 0-100 (applied when returning base64/dataUrl)
Required: how the data should be returned
Optional sourceSource; defaults to CameraSource.Prompt
Optional widthTarget width; aspect ratio is preserved when only one dimension is given
Whether to allow editing. Not supported on HarmonyOS system pickers — ignored.