fix: Clean up codebase

This commit is contained in:
Marc Rousavy
2023-08-21 14:24:06 +02:00
parent 07ba0e1a41
commit e1b04088c6
17 changed files with 26 additions and 235 deletions

View File

@@ -38,16 +38,6 @@ export interface TakePhotoOptions {
* @default false
*/
enableAutoDistortionCorrection?: boolean;
/**
* When set to `true`, metadata reading and mapping will be skipped. ({@linkcode PhotoFile.metadata} will be null)
*
* This might result in a faster capture, as metadata reading and mapping requires File IO.
*
* @default false
*
* @platform Android
*/
skipMetadata?: boolean;
}
/**
@@ -80,10 +70,11 @@ export interface PhotoFile extends TemporaryFile {
isMirrored: boolean;
thumbnail?: Record<string, unknown>;
/**
* Metadata information describing the captured image.
* Metadata information describing the captured image. (iOS only)
*
* @see [AVCapturePhoto.metadata](https://developer.apple.com/documentation/avfoundation/avcapturephoto/2873982-metadata)
* @see [AndroidX ExifInterface](https://developer.android.com/reference/androidx/exifinterface/media/ExifInterface)
*
* @platform iOS
*/
metadata?: {
/**