Camera: {
    pickGalleryPhotos: ((options?) => Promise<GalleryPhoto[]>);
    takePhoto: ((options?) => Promise<Photo>);
    uploadGallery: ((__namedParameters) => Promise<void>);
    uploadPhotos: ((__namedParameters) => Promise<void>);
} = ...

Type declaration

  • pickGalleryPhotos: ((options?) => Promise<GalleryPhoto[]>)
      • (options?): Promise<GalleryPhoto[]>
      • Retrieves gallery photos from the device.

        Parameters

        Returns Promise<GalleryPhoto[]>

        A Promise that resolves with an array of gallery photos.

  • takePhoto: ((options?) => Promise<Photo>)
      • (options?): Promise<Photo>
      • Takes a photo using the device's camera.

        Parameters

        • Optional options: ImageOptions

          Optional options for taking a photo.

        Returns Promise<Photo>

        A Promise that resolves with the taken photo.

  • uploadGallery: ((__namedParameters) => Promise<void>)
      • (__namedParameters): Promise<void>
      • Parameters

        Returns Promise<void>

  • uploadPhotos: ((__namedParameters) => Promise<void>)
      • (__namedParameters): Promise<void>
      • Parameters

        Returns Promise<void>