CameraHuawei implements the same CameraPlugin interface as @capacitor/camera, routing calls through the Huawei JS Bridge.

Backed by HarmonyOS system pickers (no permissions required):

  • CAMERA source: secure system camera (cameraPicker)
  • PHOTOS source: system gallery (PhotoViewPicker)
  • PROMPT source: ActionSheet letting the user choose

User cancellation rejects with Error('User cancelled'), matching the Capacitor behavior.

Implements

Constructors

Methods