web.d.ts 772 B

12345678910111213141516
  1. import { WebPlugin } from '@capacitor/core';
  2. import type { CameraPlugin, GalleryImageOptions, GalleryPhotos, ImageOptions, PermissionStatus, Photo } from './definitions';
  3. export declare class CameraWeb extends WebPlugin implements CameraPlugin {
  4. getPhoto(options: ImageOptions): Promise<Photo>;
  5. pickImages(_options: GalleryImageOptions): Promise<GalleryPhotos>;
  6. private cameraExperience;
  7. private fileInputExperience;
  8. private multipleFileInputExperience;
  9. private _getCameraPhoto;
  10. checkPermissions(): Promise<PermissionStatus>;
  11. requestPermissions(): Promise<PermissionStatus>;
  12. pickLimitedLibraryPhotos(): Promise<GalleryPhotos>;
  13. getLimitedLibraryPhotos(): Promise<GalleryPhotos>;
  14. }
  15. declare const Camera: CameraWeb;
  16. export { Camera };