From c31425523a73ae6c6db9e0cce1bb8ac5d2eaae50 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Wed, 3 Mar 2021 14:03:20 +0100 Subject: [PATCH] Downgrade TypeScript to 4.1.5 to make the docusaurus plugin work again --- docs/docs/api/classes/camera.camera-1.md | 44 +++++----- .../classes/cameraerror.cameracaptureerror.md | 12 +-- .../classes/cameraerror.cameraruntimeerror.md | 12 +-- docs/docs/api/classes/index.camera.md | 44 +++++----- .../api/classes/index.cameracaptureerror.md | 12 +-- .../api/classes/index.cameraruntimeerror.md | 12 +-- .../interfaces/cameraerror.errorwithcause.md | 12 +-- .../api/interfaces/index.errorwithcause.md | 12 +-- docs/docs/api/interfaces/index.point.md | 4 +- .../interfaces/index.recordvideooptions.md | 10 +-- .../api/interfaces/index.takephotooptions.md | 16 ++-- .../interfaces/index.takesnapshotoptions.md | 4 +- .../interfaces/photofile.takephotooptions.md | 16 ++-- docs/docs/api/interfaces/point.point-1.md | 4 +- .../snapshot.takesnapshotoptions.md | 4 +- .../videofile.recordvideooptions.md | 10 +-- docs/docs/api/modules/camera.md | 14 +-- docs/docs/api/modules/cameracodec.md | 4 +- docs/docs/api/modules/cameradevice.md | 18 ++-- docs/docs/api/modules/cameraerror.md | 20 ++--- docs/docs/api/modules/cameraposition.md | 2 +- docs/docs/api/modules/camerapreset.md | 2 +- docs/docs/api/modules/code.md | 4 +- .../api/modules/hooks_usecameradevices.md | 4 +- .../docs/api/modules/hooks_usecameraformat.md | 2 +- docs/docs/api/modules/index.md | 86 +++++++++---------- docs/docs/api/modules/photofile.md | 2 +- docs/docs/api/modules/temporaryfile.md | 2 +- docs/docs/api/modules/utils_formatfilter.md | 10 +-- docs/docs/api/modules/videofile.md | 2 +- docs/package.json | 2 +- docs/yarn.lock | 8 +- 32 files changed, 205 insertions(+), 205 deletions(-) diff --git a/docs/docs/api/classes/camera.camera-1.md b/docs/docs/api/classes/camera.camera-1.md index 5d8c506..2a201a5 100644 --- a/docs/docs/api/classes/camera.camera-1.md +++ b/docs/docs/api/classes/camera.camera-1.md @@ -56,7 +56,7 @@ Name | Type | **Returns:** [*Camera*](camera.camera-1.md) -Defined in: [src/Camera.tsx:210](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L210) +Defined in: [src/Camera.tsx:210](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L210) ## Properties @@ -86,7 +86,7 @@ ___ • **displayName**: *string* -Defined in: [src/Camera.tsx:208](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L208) +Defined in: [src/Camera.tsx:208](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L208) ___ @@ -102,7 +102,7 @@ ___ • `Private` `Readonly` **ref**: *RefObject* -Defined in: [src/Camera.tsx:210](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L210) +Defined in: [src/Camera.tsx:210](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L210) ___ @@ -158,7 +158,7 @@ ___ ▪ `Static` **displayName**: *string*= 'Camera' -Defined in: [src/Camera.tsx:207](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L207) +Defined in: [src/Camera.tsx:207](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L207) ## Accessors @@ -168,7 +168,7 @@ Defined in: [src/Camera.tsx:207](https://github.com/cuvent/react-native-vision-c **Returns:** *null* \| *number* -Defined in: [src/Camera.tsx:221](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L221) +Defined in: [src/Camera.tsx:221](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L221) ## Methods @@ -429,7 +429,7 @@ Name | Type | Description | **Returns:** *Promise* -Defined in: [src/Camera.tsx:326](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L326) +Defined in: [src/Camera.tsx:326](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L326) ___ @@ -460,7 +460,7 @@ so only use this after the `onInitialized` event has fired. **Returns:** *Promise*<[*CameraPhotoCodec*](../modules/cameracodec.md#cameraphotocodec)[]\> -Defined in: [src/Camera.tsx:353](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L353) +Defined in: [src/Camera.tsx:353](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L353) ___ @@ -475,7 +475,7 @@ so only use this after the `onInitialized` event has fired. **Returns:** *Promise*<[*CameraVideoCodec*](../modules/cameracodec.md#cameravideocodec)[]\> -Defined in: [src/Camera.tsx:340](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L340) +Defined in: [src/Camera.tsx:340](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L340) ___ @@ -515,7 +515,7 @@ Name | Type | **Returns:** *void* -Defined in: [src/Camera.tsx:445](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L445) +Defined in: [src/Camera.tsx:445](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L445) ___ @@ -531,7 +531,7 @@ Name | Type | **Returns:** *void* -Defined in: [src/Camera.tsx:428](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L428) +Defined in: [src/Camera.tsx:428](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L428) ___ @@ -541,7 +541,7 @@ ___ **Returns:** *void* -Defined in: [src/Camera.tsx:441](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L441) +Defined in: [src/Camera.tsx:441](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L441) ___ @@ -551,7 +551,7 @@ ___ **Returns:** ReactNode -Defined in: [src/Camera.tsx:461](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L461) +Defined in: [src/Camera.tsx:461](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L461) ___ @@ -638,7 +638,7 @@ Name | Type | **Returns:** *void* -Defined in: [src/Camera.tsx:282](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L282) +Defined in: [src/Camera.tsx:282](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L282) ___ @@ -658,7 +658,7 @@ setTimeout(async () => { **Returns:** *Promise* -Defined in: [src/Camera.tsx:309](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L309) +Defined in: [src/Camera.tsx:309](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L309) ___ @@ -678,7 +678,7 @@ Name | Type | **Returns:** *Promise* & { `height`: *number* ; `isRawPhoto`: *boolean* ; `metadata`: { `DPIHeight`: *number* ; `DPIWidth`: *number* ; `Orientation`: *number* ; `{Exif}`: { `ApertureValue`: *number* ; `BrightnessValue`: *number* ; `ColorSpace`: *number* ; `DateTimeDigitized`: *string* ; `DateTimeOriginal`: *string* ; `ExifVersion`: *string* ; `ExposureBiasValue`: *number* ; `ExposureMode`: *number* ; `ExposureProgram`: *number* ; `ExposureTime`: *number* ; `FNumber`: *number* ; `Flash`: *number* ; `FocalLenIn35mmFilm`: *number* ; `FocalLength`: *number* ; `ISOSpeedRatings`: *number*[] ; `LensMake`: *string* ; `LensModel`: *string* ; `LensSpecification`: *number*[] ; `MeteringMode`: *number* ; `OffsetTime`: *string* ; `OffsetTimeDigitized`: *string* ; `OffsetTimeOriginal`: *string* ; `PixelXDimension`: *number* ; `PixelYDimension`: *number* ; `SceneType`: *number* ; `SensingMethod`: *number* ; `ShutterSpeedValue`: *number* ; `SubjectArea`: *number*[] ; `SubsecTimeDigitized`: *string* ; `SubsecTimeOriginal`: *string* ; `WhiteBalance`: *number* } ; `{MakerApple}?`: *undefined* \| *Record* ; `{TIFF}`: { `DateTime`: *string* ; `HostComputer?`: *undefined* \| *string* ; `Make`: *string* ; `Model`: *string* ; `ResolutionUnit`: *number* ; `Software`: *string* ; `XResolution`: *number* ; `YResolution`: *number* } } ; `thumbnail?`: *undefined* \| *Record* ; `width`: *number* }\>\> -Defined in: [src/Camera.tsx:234](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L234) +Defined in: [src/Camera.tsx:234](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L234) ___ @@ -700,7 +700,7 @@ Name | Type | **Returns:** *Promise* & { `height`: *number* ; `isRawPhoto`: *boolean* ; `metadata`: { `DPIHeight`: *number* ; `DPIWidth`: *number* ; `Orientation`: *number* ; `{Exif}`: { `ApertureValue`: *number* ; `BrightnessValue`: *number* ; `ColorSpace`: *number* ; `DateTimeDigitized`: *string* ; `DateTimeOriginal`: *string* ; `ExifVersion`: *string* ; `ExposureBiasValue`: *number* ; `ExposureMode`: *number* ; `ExposureProgram`: *number* ; `ExposureTime`: *number* ; `FNumber`: *number* ; `Flash`: *number* ; `FocalLenIn35mmFilm`: *number* ; `FocalLength`: *number* ; `ISOSpeedRatings`: *number*[] ; `LensMake`: *string* ; `LensModel`: *string* ; `LensSpecification`: *number*[] ; `MeteringMode`: *number* ; `OffsetTime`: *string* ; `OffsetTimeDigitized`: *string* ; `OffsetTimeOriginal`: *string* ; `PixelXDimension`: *number* ; `PixelYDimension`: *number* ; `SceneType`: *number* ; `SensingMethod`: *number* ; `ShutterSpeedValue`: *number* ; `SubjectArea`: *number*[] ; `SubsecTimeDigitized`: *string* ; `SubsecTimeOriginal`: *string* ; `WhiteBalance`: *number* } ; `{MakerApple}?`: *undefined* \| *Record* ; `{TIFF}`: { `DateTime`: *string* ; `HostComputer?`: *undefined* \| *string* ; `Make`: *string* ; `Model`: *string* ; `ResolutionUnit`: *number* ; `Software`: *string* ; `XResolution`: *number* ; `YResolution`: *number* } } ; `thumbnail?`: *undefined* \| *Record* ; `width`: *number* }\>\> -Defined in: [src/Camera.tsx:249](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L249) +Defined in: [src/Camera.tsx:249](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L249) ___ @@ -712,7 +712,7 @@ Get a list of all available camera devices on the current phone. **Returns:** *Promise*[] ; `isHighestPhotoQualitySupported?`: *undefined* \| *boolean* ; `maxISO`: *number* ; `maxZoom`: *number* ; `minISO`: *number* ; `photoHeight`: *number* ; `photoWidth`: *number* ; `supportsPhotoHDR`: *boolean* ; `supportsVideoHDR`: *boolean* ; `videoHeight?`: *undefined* \| *number* ; `videoStabilizationModes`: [*VideoStabilizationMode*](../modules/cameradevice.md#videostabilizationmode)[] ; `videoWidth?`: *undefined* \| *number* }\>[] ; `hasFlash`: *boolean* ; `hasTorch`: *boolean* ; `id`: *string* ; `isMultiCam`: *boolean* ; `maxZoom`: *number* ; `minZoom`: *number* ; `name`: *string* ; `neutralZoom`: *number* ; `position`: [*CameraPosition*](../modules/cameraposition.md#cameraposition) ; `supportsLowLightBoost`: *boolean* }\>[]\> -Defined in: [src/Camera.tsx:366](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L366) +Defined in: [src/Camera.tsx:366](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L366) ___ @@ -727,7 +727,7 @@ To actually prompt the user for camera permission, use `Camera.requestCameraPerm **Returns:** *Promise*<[*CameraPermissionStatus*](../modules/camera.md#camerapermissionstatus)\> -Defined in: [src/Camera.tsx:379](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L379) +Defined in: [src/Camera.tsx:379](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L379) ___ @@ -744,7 +744,7 @@ Name | Type | **Returns:** *null* \| CameraState -Defined in: [src/Camera.tsx:454](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L454) +Defined in: [src/Camera.tsx:454](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L454) ___ @@ -759,7 +759,7 @@ To actually prompt the user for microphone permission, use `Camera.requestMicrop **Returns:** *Promise*<[*CameraPermissionStatus*](../modules/camera.md#camerapermissionstatus)\> -Defined in: [src/Camera.tsx:392](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L392) +Defined in: [src/Camera.tsx:392](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L392) ___ @@ -774,7 +774,7 @@ and `"denied"` will be returned. **Returns:** *Promise*<[*CameraPermissionRequestResult*](../modules/camera.md#camerapermissionrequestresult)\> -Defined in: [src/Camera.tsx:405](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L405) +Defined in: [src/Camera.tsx:405](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L405) ___ @@ -789,4 +789,4 @@ and `"denied"` will be returned. **Returns:** *Promise*<[*CameraPermissionRequestResult*](../modules/camera.md#camerapermissionrequestresult)\> -Defined in: [src/Camera.tsx:418](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L418) +Defined in: [src/Camera.tsx:418](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L418) diff --git a/docs/docs/api/classes/cameraerror.cameracaptureerror.md b/docs/docs/api/classes/cameraerror.cameracaptureerror.md index 6527e66..c8f86db 100644 --- a/docs/docs/api/classes/cameraerror.cameracaptureerror.md +++ b/docs/docs/api/classes/cameraerror.cameracaptureerror.md @@ -34,7 +34,7 @@ Name | Type | **Returns:** [*CameraCaptureError*](cameraerror.cameracaptureerror.md) -Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L105) +Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L105) ## Properties @@ -42,7 +42,7 @@ Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-visi • **name**: *string* -Defined in: node_modules/typescript/lib/lib.es5.d.ts:973 +Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:973 ___ @@ -50,7 +50,7 @@ ___ • `Optional` **stack**: *undefined* \| *string* -Defined in: node_modules/typescript/lib/lib.es5.d.ts:975 +Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:975 ___ @@ -80,7 +80,7 @@ Defined in: node_modules/@types/node/globals.d.ts:13 **Returns:** *undefined* \| [*ErrorWithCause*](../interfaces/cameraerror.errorwithcause.md) -Defined in: [src/CameraError.ts:103](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L103) +Defined in: [src/CameraError.ts:103](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L103) ___ @@ -90,7 +90,7 @@ ___ **Returns:** TCode -Defined in: [src/CameraError.ts:97](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L97) +Defined in: [src/CameraError.ts:97](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L97) ___ @@ -100,7 +100,7 @@ ___ **Returns:** *string* -Defined in: [src/CameraError.ts:100](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L100) +Defined in: [src/CameraError.ts:100](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L100) ## Methods diff --git a/docs/docs/api/classes/cameraerror.cameraruntimeerror.md b/docs/docs/api/classes/cameraerror.cameraruntimeerror.md index 43f7c9e..4773b69 100644 --- a/docs/docs/api/classes/cameraerror.cameraruntimeerror.md +++ b/docs/docs/api/classes/cameraerror.cameraruntimeerror.md @@ -34,7 +34,7 @@ Name | Type | **Returns:** [*CameraRuntimeError*](cameraerror.cameraruntimeerror.md) -Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L105) +Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L105) ## Properties @@ -42,7 +42,7 @@ Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-visi • **name**: *string* -Defined in: node_modules/typescript/lib/lib.es5.d.ts:973 +Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:973 ___ @@ -62,7 +62,7 @@ ___ • `Optional` **stack**: *undefined* \| *string* -Defined in: node_modules/typescript/lib/lib.es5.d.ts:975 +Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:975 ___ @@ -80,7 +80,7 @@ Defined in: node_modules/@types/node/globals.d.ts:13 **Returns:** *undefined* \| [*ErrorWithCause*](../interfaces/cameraerror.errorwithcause.md) -Defined in: [src/CameraError.ts:103](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L103) +Defined in: [src/CameraError.ts:103](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L103) ___ @@ -90,7 +90,7 @@ ___ **Returns:** TCode -Defined in: [src/CameraError.ts:97](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L97) +Defined in: [src/CameraError.ts:97](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L97) ___ @@ -100,7 +100,7 @@ ___ **Returns:** *string* -Defined in: [src/CameraError.ts:100](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L100) +Defined in: [src/CameraError.ts:100](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L100) ## Methods diff --git a/docs/docs/api/classes/index.camera.md b/docs/docs/api/classes/index.camera.md index d28b1cd..d814de7 100644 --- a/docs/docs/api/classes/index.camera.md +++ b/docs/docs/api/classes/index.camera.md @@ -56,7 +56,7 @@ Name | Type | **Returns:** [*Camera*](camera.camera-1.md) -Defined in: [src/Camera.tsx:210](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L210) +Defined in: [src/Camera.tsx:210](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L210) ## Properties @@ -86,7 +86,7 @@ ___ • **displayName**: *string* -Defined in: [src/Camera.tsx:208](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L208) +Defined in: [src/Camera.tsx:208](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L208) ___ @@ -102,7 +102,7 @@ ___ • `Private` `Readonly` **ref**: *RefObject* -Defined in: [src/Camera.tsx:210](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L210) +Defined in: [src/Camera.tsx:210](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L210) ___ @@ -158,7 +158,7 @@ ___ ▪ `Static` **displayName**: *string*= 'Camera' -Defined in: [src/Camera.tsx:207](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L207) +Defined in: [src/Camera.tsx:207](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L207) ## Accessors @@ -168,7 +168,7 @@ Defined in: [src/Camera.tsx:207](https://github.com/cuvent/react-native-vision-c **Returns:** *null* \| *number* -Defined in: [src/Camera.tsx:221](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L221) +Defined in: [src/Camera.tsx:221](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L221) ## Methods @@ -429,7 +429,7 @@ Name | Type | Description | **Returns:** *Promise* -Defined in: [src/Camera.tsx:326](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L326) +Defined in: [src/Camera.tsx:326](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L326) ___ @@ -460,7 +460,7 @@ so only use this after the `onInitialized` event has fired. **Returns:** *Promise*<[*CameraPhotoCodec*](../modules/cameracodec.md#cameraphotocodec)[]\> -Defined in: [src/Camera.tsx:353](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L353) +Defined in: [src/Camera.tsx:353](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L353) ___ @@ -475,7 +475,7 @@ so only use this after the `onInitialized` event has fired. **Returns:** *Promise*<[*CameraVideoCodec*](../modules/cameracodec.md#cameravideocodec)[]\> -Defined in: [src/Camera.tsx:340](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L340) +Defined in: [src/Camera.tsx:340](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L340) ___ @@ -515,7 +515,7 @@ Name | Type | **Returns:** *void* -Defined in: [src/Camera.tsx:445](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L445) +Defined in: [src/Camera.tsx:445](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L445) ___ @@ -531,7 +531,7 @@ Name | Type | **Returns:** *void* -Defined in: [src/Camera.tsx:428](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L428) +Defined in: [src/Camera.tsx:428](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L428) ___ @@ -541,7 +541,7 @@ ___ **Returns:** *void* -Defined in: [src/Camera.tsx:441](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L441) +Defined in: [src/Camera.tsx:441](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L441) ___ @@ -551,7 +551,7 @@ ___ **Returns:** ReactNode -Defined in: [src/Camera.tsx:461](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L461) +Defined in: [src/Camera.tsx:461](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L461) ___ @@ -638,7 +638,7 @@ Name | Type | **Returns:** *void* -Defined in: [src/Camera.tsx:282](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L282) +Defined in: [src/Camera.tsx:282](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L282) ___ @@ -658,7 +658,7 @@ setTimeout(async () => { **Returns:** *Promise* -Defined in: [src/Camera.tsx:309](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L309) +Defined in: [src/Camera.tsx:309](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L309) ___ @@ -678,7 +678,7 @@ Name | Type | **Returns:** *Promise* & { `height`: *number* ; `isRawPhoto`: *boolean* ; `metadata`: { `DPIHeight`: *number* ; `DPIWidth`: *number* ; `Orientation`: *number* ; `{Exif}`: { `ApertureValue`: *number* ; `BrightnessValue`: *number* ; `ColorSpace`: *number* ; `DateTimeDigitized`: *string* ; `DateTimeOriginal`: *string* ; `ExifVersion`: *string* ; `ExposureBiasValue`: *number* ; `ExposureMode`: *number* ; `ExposureProgram`: *number* ; `ExposureTime`: *number* ; `FNumber`: *number* ; `Flash`: *number* ; `FocalLenIn35mmFilm`: *number* ; `FocalLength`: *number* ; `ISOSpeedRatings`: *number*[] ; `LensMake`: *string* ; `LensModel`: *string* ; `LensSpecification`: *number*[] ; `MeteringMode`: *number* ; `OffsetTime`: *string* ; `OffsetTimeDigitized`: *string* ; `OffsetTimeOriginal`: *string* ; `PixelXDimension`: *number* ; `PixelYDimension`: *number* ; `SceneType`: *number* ; `SensingMethod`: *number* ; `ShutterSpeedValue`: *number* ; `SubjectArea`: *number*[] ; `SubsecTimeDigitized`: *string* ; `SubsecTimeOriginal`: *string* ; `WhiteBalance`: *number* } ; `{MakerApple}?`: *undefined* \| *Record* ; `{TIFF}`: { `DateTime`: *string* ; `HostComputer?`: *undefined* \| *string* ; `Make`: *string* ; `Model`: *string* ; `ResolutionUnit`: *number* ; `Software`: *string* ; `XResolution`: *number* ; `YResolution`: *number* } } ; `thumbnail?`: *undefined* \| *Record* ; `width`: *number* }\>\> -Defined in: [src/Camera.tsx:234](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L234) +Defined in: [src/Camera.tsx:234](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L234) ___ @@ -700,7 +700,7 @@ Name | Type | **Returns:** *Promise* & { `height`: *number* ; `isRawPhoto`: *boolean* ; `metadata`: { `DPIHeight`: *number* ; `DPIWidth`: *number* ; `Orientation`: *number* ; `{Exif}`: { `ApertureValue`: *number* ; `BrightnessValue`: *number* ; `ColorSpace`: *number* ; `DateTimeDigitized`: *string* ; `DateTimeOriginal`: *string* ; `ExifVersion`: *string* ; `ExposureBiasValue`: *number* ; `ExposureMode`: *number* ; `ExposureProgram`: *number* ; `ExposureTime`: *number* ; `FNumber`: *number* ; `Flash`: *number* ; `FocalLenIn35mmFilm`: *number* ; `FocalLength`: *number* ; `ISOSpeedRatings`: *number*[] ; `LensMake`: *string* ; `LensModel`: *string* ; `LensSpecification`: *number*[] ; `MeteringMode`: *number* ; `OffsetTime`: *string* ; `OffsetTimeDigitized`: *string* ; `OffsetTimeOriginal`: *string* ; `PixelXDimension`: *number* ; `PixelYDimension`: *number* ; `SceneType`: *number* ; `SensingMethod`: *number* ; `ShutterSpeedValue`: *number* ; `SubjectArea`: *number*[] ; `SubsecTimeDigitized`: *string* ; `SubsecTimeOriginal`: *string* ; `WhiteBalance`: *number* } ; `{MakerApple}?`: *undefined* \| *Record* ; `{TIFF}`: { `DateTime`: *string* ; `HostComputer?`: *undefined* \| *string* ; `Make`: *string* ; `Model`: *string* ; `ResolutionUnit`: *number* ; `Software`: *string* ; `XResolution`: *number* ; `YResolution`: *number* } } ; `thumbnail?`: *undefined* \| *Record* ; `width`: *number* }\>\> -Defined in: [src/Camera.tsx:249](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L249) +Defined in: [src/Camera.tsx:249](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L249) ___ @@ -712,7 +712,7 @@ Get a list of all available camera devices on the current phone. **Returns:** *Promise*[] ; `isHighestPhotoQualitySupported?`: *undefined* \| *boolean* ; `maxISO`: *number* ; `maxZoom`: *number* ; `minISO`: *number* ; `photoHeight`: *number* ; `photoWidth`: *number* ; `supportsPhotoHDR`: *boolean* ; `supportsVideoHDR`: *boolean* ; `videoHeight?`: *undefined* \| *number* ; `videoStabilizationModes`: [*VideoStabilizationMode*](../modules/cameradevice.md#videostabilizationmode)[] ; `videoWidth?`: *undefined* \| *number* }\>[] ; `hasFlash`: *boolean* ; `hasTorch`: *boolean* ; `id`: *string* ; `isMultiCam`: *boolean* ; `maxZoom`: *number* ; `minZoom`: *number* ; `name`: *string* ; `neutralZoom`: *number* ; `position`: [*CameraPosition*](../modules/cameraposition.md#cameraposition) ; `supportsLowLightBoost`: *boolean* }\>[]\> -Defined in: [src/Camera.tsx:366](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L366) +Defined in: [src/Camera.tsx:366](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L366) ___ @@ -727,7 +727,7 @@ To actually prompt the user for camera permission, use `Camera.requestCameraPerm **Returns:** *Promise*<[*CameraPermissionStatus*](../modules/camera.md#camerapermissionstatus)\> -Defined in: [src/Camera.tsx:379](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L379) +Defined in: [src/Camera.tsx:379](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L379) ___ @@ -744,7 +744,7 @@ Name | Type | **Returns:** *null* \| CameraState -Defined in: [src/Camera.tsx:454](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L454) +Defined in: [src/Camera.tsx:454](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L454) ___ @@ -759,7 +759,7 @@ To actually prompt the user for microphone permission, use `Camera.requestMicrop **Returns:** *Promise*<[*CameraPermissionStatus*](../modules/camera.md#camerapermissionstatus)\> -Defined in: [src/Camera.tsx:392](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L392) +Defined in: [src/Camera.tsx:392](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L392) ___ @@ -774,7 +774,7 @@ and `"denied"` will be returned. **Returns:** *Promise*<[*CameraPermissionRequestResult*](../modules/camera.md#camerapermissionrequestresult)\> -Defined in: [src/Camera.tsx:405](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L405) +Defined in: [src/Camera.tsx:405](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L405) ___ @@ -789,4 +789,4 @@ and `"denied"` will be returned. **Returns:** *Promise*<[*CameraPermissionRequestResult*](../modules/camera.md#camerapermissionrequestresult)\> -Defined in: [src/Camera.tsx:418](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L418) +Defined in: [src/Camera.tsx:418](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L418) diff --git a/docs/docs/api/classes/index.cameracaptureerror.md b/docs/docs/api/classes/index.cameracaptureerror.md index ab29ddb..44d3419 100644 --- a/docs/docs/api/classes/index.cameracaptureerror.md +++ b/docs/docs/api/classes/index.cameracaptureerror.md @@ -34,7 +34,7 @@ Name | Type | **Returns:** [*CameraCaptureError*](cameraerror.cameracaptureerror.md) -Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L105) +Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L105) ## Properties @@ -42,7 +42,7 @@ Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-visi • **name**: *string* -Defined in: node_modules/typescript/lib/lib.es5.d.ts:973 +Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:973 ___ @@ -62,7 +62,7 @@ ___ • `Optional` **stack**: *undefined* \| *string* -Defined in: node_modules/typescript/lib/lib.es5.d.ts:975 +Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:975 ___ @@ -80,7 +80,7 @@ Defined in: node_modules/@types/node/globals.d.ts:13 **Returns:** *undefined* \| [*ErrorWithCause*](../interfaces/cameraerror.errorwithcause.md) -Defined in: [src/CameraError.ts:103](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L103) +Defined in: [src/CameraError.ts:103](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L103) ___ @@ -90,7 +90,7 @@ ___ **Returns:** TCode -Defined in: [src/CameraError.ts:97](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L97) +Defined in: [src/CameraError.ts:97](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L97) ___ @@ -100,7 +100,7 @@ ___ **Returns:** *string* -Defined in: [src/CameraError.ts:100](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L100) +Defined in: [src/CameraError.ts:100](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L100) ## Methods diff --git a/docs/docs/api/classes/index.cameraruntimeerror.md b/docs/docs/api/classes/index.cameraruntimeerror.md index 7a4abef..8d01440 100644 --- a/docs/docs/api/classes/index.cameraruntimeerror.md +++ b/docs/docs/api/classes/index.cameraruntimeerror.md @@ -34,7 +34,7 @@ Name | Type | **Returns:** [*CameraRuntimeError*](cameraerror.cameraruntimeerror.md) -Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L105) +Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L105) ## Properties @@ -42,7 +42,7 @@ Defined in: [src/CameraError.ts:105](https://github.com/cuvent/react-native-visi • **name**: *string* -Defined in: node_modules/typescript/lib/lib.es5.d.ts:973 +Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:973 ___ @@ -62,7 +62,7 @@ ___ • `Optional` **stack**: *undefined* \| *string* -Defined in: node_modules/typescript/lib/lib.es5.d.ts:975 +Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:975 ___ @@ -80,7 +80,7 @@ Defined in: node_modules/@types/node/globals.d.ts:13 **Returns:** *undefined* \| [*ErrorWithCause*](../interfaces/cameraerror.errorwithcause.md) -Defined in: [src/CameraError.ts:103](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L103) +Defined in: [src/CameraError.ts:103](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L103) ___ @@ -90,7 +90,7 @@ ___ **Returns:** TCode -Defined in: [src/CameraError.ts:97](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L97) +Defined in: [src/CameraError.ts:97](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L97) ___ @@ -100,7 +100,7 @@ ___ **Returns:** *string* -Defined in: [src/CameraError.ts:100](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L100) +Defined in: [src/CameraError.ts:100](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L100) ## Methods diff --git a/docs/docs/api/interfaces/cameraerror.errorwithcause.md b/docs/docs/api/interfaces/cameraerror.errorwithcause.md index da326cc..bc7823b 100644 --- a/docs/docs/api/interfaces/cameraerror.errorwithcause.md +++ b/docs/docs/api/interfaces/cameraerror.errorwithcause.md @@ -23,7 +23,7 @@ Optional additional cause for nested errors * iOS: N/A * Android: `Throwable.cause` -Defined in: [src/CameraError.ts:84](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L84) +Defined in: [src/CameraError.ts:84](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L84) ___ @@ -36,7 +36,7 @@ The native error's code. * iOS: `NSError.code` * Android: N/A -Defined in: [src/CameraError.ts:49](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L49) +Defined in: [src/CameraError.ts:49](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L49) ___ @@ -49,7 +49,7 @@ Optional additional details * iOS: `NSError.userInfo` * Android: N/A -Defined in: [src/CameraError.ts:70](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L70) +Defined in: [src/CameraError.ts:70](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L70) ___ @@ -62,7 +62,7 @@ The native error's domain. * iOS: `NSError.domain` * Android: N/A -Defined in: [src/CameraError.ts:56](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L56) +Defined in: [src/CameraError.ts:56](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L56) ___ @@ -75,7 +75,7 @@ The native error description (Localized on iOS) * iOS: `NSError.message` * Android: `Throwable.message` -Defined in: [src/CameraError.ts:63](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L63) +Defined in: [src/CameraError.ts:63](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L63) ___ @@ -88,4 +88,4 @@ Optional stacktrace * iOS: N/A * Android: `Throwable.stacktrace.toString()` -Defined in: [src/CameraError.ts:77](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L77) +Defined in: [src/CameraError.ts:77](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L77) diff --git a/docs/docs/api/interfaces/index.errorwithcause.md b/docs/docs/api/interfaces/index.errorwithcause.md index 5db917f..e4ab404 100644 --- a/docs/docs/api/interfaces/index.errorwithcause.md +++ b/docs/docs/api/interfaces/index.errorwithcause.md @@ -23,7 +23,7 @@ Optional additional cause for nested errors * iOS: N/A * Android: `Throwable.cause` -Defined in: [src/CameraError.ts:84](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L84) +Defined in: [src/CameraError.ts:84](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L84) ___ @@ -36,7 +36,7 @@ The native error's code. * iOS: `NSError.code` * Android: N/A -Defined in: [src/CameraError.ts:49](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L49) +Defined in: [src/CameraError.ts:49](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L49) ___ @@ -49,7 +49,7 @@ Optional additional details * iOS: `NSError.userInfo` * Android: N/A -Defined in: [src/CameraError.ts:70](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L70) +Defined in: [src/CameraError.ts:70](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L70) ___ @@ -62,7 +62,7 @@ The native error's domain. * iOS: `NSError.domain` * Android: N/A -Defined in: [src/CameraError.ts:56](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L56) +Defined in: [src/CameraError.ts:56](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L56) ___ @@ -75,7 +75,7 @@ The native error description (Localized on iOS) * iOS: `NSError.message` * Android: `Throwable.message` -Defined in: [src/CameraError.ts:63](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L63) +Defined in: [src/CameraError.ts:63](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L63) ___ @@ -88,4 +88,4 @@ Optional stacktrace * iOS: N/A * Android: `Throwable.stacktrace.toString()` -Defined in: [src/CameraError.ts:77](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L77) +Defined in: [src/CameraError.ts:77](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L77) diff --git a/docs/docs/api/interfaces/index.point.md b/docs/docs/api/interfaces/index.point.md index b4e59d8..0f3c298 100644 --- a/docs/docs/api/interfaces/index.point.md +++ b/docs/docs/api/interfaces/index.point.md @@ -20,7 +20,7 @@ Represents a Point in a 2 dimensional coordinate system. The X coordinate of this Point. (double) -Defined in: [src/Point.ts:8](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Point.ts#L8) +Defined in: [src/Point.ts:8](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Point.ts#L8) ___ @@ -30,4 +30,4 @@ ___ The Y coordinate of this Point. (double) -Defined in: [src/Point.ts:12](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Point.ts#L12) +Defined in: [src/Point.ts:12](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Point.ts#L12) diff --git a/docs/docs/api/interfaces/index.recordvideooptions.md b/docs/docs/api/interfaces/index.recordvideooptions.md index b09931f..27de25d 100644 --- a/docs/docs/api/interfaces/index.recordvideooptions.md +++ b/docs/docs/api/interfaces/index.recordvideooptions.md @@ -18,7 +18,7 @@ hide_title: true Set the video flash mode. Natively, this just enables the torch while recording. -Defined in: [src/VideoFile.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L36) +Defined in: [src/VideoFile.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L36) ___ @@ -40,9 +40,9 @@ Name | Type | **Returns:** *void* -Defined in: [src/VideoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L40) +Defined in: [src/VideoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L40) -Defined in: [src/VideoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L40) +Defined in: [src/VideoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L40) ___ @@ -64,6 +64,6 @@ Name | Type | **Returns:** *void* -Defined in: [src/VideoFile.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L44) +Defined in: [src/VideoFile.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L44) -Defined in: [src/VideoFile.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L44) +Defined in: [src/VideoFile.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L44) diff --git a/docs/docs/api/interfaces/index.takephotooptions.md b/docs/docs/api/interfaces/index.takephotooptions.md index 0aa0726..a3e466b 100644 --- a/docs/docs/api/interfaces/index.takephotooptions.md +++ b/docs/docs/api/interfaces/index.takephotooptions.md @@ -20,7 +20,7 @@ Specifies whether the photo output should use content aware distortion correctio **`default`** false -Defined in: [src/PhotoFile.ts:52](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L52) +Defined in: [src/PhotoFile.ts:52](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L52) ___ @@ -32,7 +32,7 @@ Specifies whether red-eye reduction should be applied automatically on flash cap **`default`** false -Defined in: [src/PhotoFile.ts:33](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L33) +Defined in: [src/PhotoFile.ts:33](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L33) ___ @@ -44,7 +44,7 @@ Indicates whether still image stabilization will be employed when capturing the **`default`** false -Defined in: [src/PhotoFile.ts:46](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L46) +Defined in: [src/PhotoFile.ts:46](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L46) ___ @@ -57,7 +57,7 @@ to create a combined, higher quality image. **`see`** [`isAutoVirtualDeviceFusionEnabled`](https://developer.apple.com/documentation/avfoundation/avcapturephotosettings/3192192-isautovirtualdevicefusionenabled) -Defined in: [src/PhotoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L40) +Defined in: [src/PhotoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L40) ___ @@ -69,7 +69,7 @@ Whether the Flash should be enabled or disabled **`default`** "auto" -Defined in: [src/PhotoFile.ts:27](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L27) +Defined in: [src/PhotoFile.ts:27](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L27) ___ @@ -81,7 +81,7 @@ Specify the photo codec to use. To get a list of available photo codecs use the **`default`** undefined -Defined in: [src/PhotoFile.ts:10](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L10) +Defined in: [src/PhotoFile.ts:10](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L10) ___ @@ -99,7 +99,7 @@ Indicates how photo quality should be prioritized against speed. **`default`** "balanced" -Defined in: [src/PhotoFile.ts:21](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L21) +Defined in: [src/PhotoFile.ts:21](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L21) ___ @@ -115,4 +115,4 @@ This might result in a faster capture, as metadata reading and mapping requires **`platform`** Android -Defined in: [src/PhotoFile.ts:62](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L62) +Defined in: [src/PhotoFile.ts:62](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L62) diff --git a/docs/docs/api/interfaces/index.takesnapshotoptions.md b/docs/docs/api/interfaces/index.takesnapshotoptions.md index 300e9ec..c5cbe44 100644 --- a/docs/docs/api/interfaces/index.takesnapshotoptions.md +++ b/docs/docs/api/interfaces/index.takesnapshotoptions.md @@ -22,7 +22,7 @@ It is recommended to set this to `90` or even `80`, since the user probably won' **`default`** 100 -Defined in: [src/Snapshot.ts:9](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Snapshot.ts#L9) +Defined in: [src/Snapshot.ts:9](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Snapshot.ts#L9) ___ @@ -38,4 +38,4 @@ This might result in a faster capture, as metadata reading and mapping requires **`platform`** Android -Defined in: [src/Snapshot.ts:20](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Snapshot.ts#L20) +Defined in: [src/Snapshot.ts:20](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Snapshot.ts#L20) diff --git a/docs/docs/api/interfaces/photofile.takephotooptions.md b/docs/docs/api/interfaces/photofile.takephotooptions.md index 12318cf..240073e 100644 --- a/docs/docs/api/interfaces/photofile.takephotooptions.md +++ b/docs/docs/api/interfaces/photofile.takephotooptions.md @@ -20,7 +20,7 @@ Specifies whether the photo output should use content aware distortion correctio **`default`** false -Defined in: [src/PhotoFile.ts:52](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L52) +Defined in: [src/PhotoFile.ts:52](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L52) ___ @@ -32,7 +32,7 @@ Specifies whether red-eye reduction should be applied automatically on flash cap **`default`** false -Defined in: [src/PhotoFile.ts:33](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L33) +Defined in: [src/PhotoFile.ts:33](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L33) ___ @@ -44,7 +44,7 @@ Indicates whether still image stabilization will be employed when capturing the **`default`** false -Defined in: [src/PhotoFile.ts:46](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L46) +Defined in: [src/PhotoFile.ts:46](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L46) ___ @@ -57,7 +57,7 @@ to create a combined, higher quality image. **`see`** [`isAutoVirtualDeviceFusionEnabled`](https://developer.apple.com/documentation/avfoundation/avcapturephotosettings/3192192-isautovirtualdevicefusionenabled) -Defined in: [src/PhotoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L40) +Defined in: [src/PhotoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L40) ___ @@ -69,7 +69,7 @@ Whether the Flash should be enabled or disabled **`default`** "auto" -Defined in: [src/PhotoFile.ts:27](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L27) +Defined in: [src/PhotoFile.ts:27](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L27) ___ @@ -81,7 +81,7 @@ Specify the photo codec to use. To get a list of available photo codecs use the **`default`** undefined -Defined in: [src/PhotoFile.ts:10](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L10) +Defined in: [src/PhotoFile.ts:10](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L10) ___ @@ -99,7 +99,7 @@ Indicates how photo quality should be prioritized against speed. **`default`** "balanced" -Defined in: [src/PhotoFile.ts:21](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L21) +Defined in: [src/PhotoFile.ts:21](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L21) ___ @@ -115,4 +115,4 @@ This might result in a faster capture, as metadata reading and mapping requires **`platform`** Android -Defined in: [src/PhotoFile.ts:62](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L62) +Defined in: [src/PhotoFile.ts:62](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L62) diff --git a/docs/docs/api/interfaces/point.point-1.md b/docs/docs/api/interfaces/point.point-1.md index ee28a8e..5e0888f 100644 --- a/docs/docs/api/interfaces/point.point-1.md +++ b/docs/docs/api/interfaces/point.point-1.md @@ -20,7 +20,7 @@ Represents a Point in a 2 dimensional coordinate system. The X coordinate of this Point. (double) -Defined in: [src/Point.ts:8](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Point.ts#L8) +Defined in: [src/Point.ts:8](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Point.ts#L8) ___ @@ -30,4 +30,4 @@ ___ The Y coordinate of this Point. (double) -Defined in: [src/Point.ts:12](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Point.ts#L12) +Defined in: [src/Point.ts:12](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Point.ts#L12) diff --git a/docs/docs/api/interfaces/snapshot.takesnapshotoptions.md b/docs/docs/api/interfaces/snapshot.takesnapshotoptions.md index 9f130e2..30d7783 100644 --- a/docs/docs/api/interfaces/snapshot.takesnapshotoptions.md +++ b/docs/docs/api/interfaces/snapshot.takesnapshotoptions.md @@ -22,7 +22,7 @@ It is recommended to set this to `90` or even `80`, since the user probably won' **`default`** 100 -Defined in: [src/Snapshot.ts:9](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Snapshot.ts#L9) +Defined in: [src/Snapshot.ts:9](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Snapshot.ts#L9) ___ @@ -38,4 +38,4 @@ This might result in a faster capture, as metadata reading and mapping requires **`platform`** Android -Defined in: [src/Snapshot.ts:20](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Snapshot.ts#L20) +Defined in: [src/Snapshot.ts:20](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Snapshot.ts#L20) diff --git a/docs/docs/api/interfaces/videofile.recordvideooptions.md b/docs/docs/api/interfaces/videofile.recordvideooptions.md index 573acff..a27df84 100644 --- a/docs/docs/api/interfaces/videofile.recordvideooptions.md +++ b/docs/docs/api/interfaces/videofile.recordvideooptions.md @@ -18,7 +18,7 @@ hide_title: true Set the video flash mode. Natively, this just enables the torch while recording. -Defined in: [src/VideoFile.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L36) +Defined in: [src/VideoFile.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L36) ___ @@ -40,9 +40,9 @@ Name | Type | **Returns:** *void* -Defined in: [src/VideoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L40) +Defined in: [src/VideoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L40) -Defined in: [src/VideoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L40) +Defined in: [src/VideoFile.ts:40](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L40) ___ @@ -64,6 +64,6 @@ Name | Type | **Returns:** *void* -Defined in: [src/VideoFile.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L44) +Defined in: [src/VideoFile.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L44) -Defined in: [src/VideoFile.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L44) +Defined in: [src/VideoFile.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L44) diff --git a/docs/docs/api/modules/camera.md b/docs/docs/api/modules/camera.md index 5a266b9..b33ed37 100644 --- a/docs/docs/api/modules/camera.md +++ b/docs/docs/api/modules/camera.md @@ -29,7 +29,7 @@ Name | Type | Description | `enableHighResolutionCapture`? | *boolean* | Indicates whether the photo render pipeline should be configured to deliver high resolution still images **`default`** false | `enablePortraitEffectsMatteDelivery`? | *boolean* | A boolean specifying whether the photo render pipeline is prepared for portrait effects matte delivery. When enabling this, you must also set `enableDepthData` to `true`. **`platform`** iOS 12.0+ **`default`** false | -Defined in: [src/Camera.tsx:73](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L73) +Defined in: [src/Camera.tsx:73](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L73) ___ @@ -46,7 +46,7 @@ Name | Type | Description | `torch`? | *off* \| *on* | Set the current torch mode. Note: The torch is only available on `"back"` cameras, and isn't supported by every phone. **`default`** "off" | `zoom`? | *number* | Specifies the zoom factor of the current camera, in percent. (`0.0` - `1.0`) **`default`** 0.0 | -Defined in: [src/Camera.tsx:102](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L102) +Defined in: [src/Camera.tsx:102](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L102) ___ @@ -61,7 +61,7 @@ Name | Type | Description | `onError`? | (`error`: [*CameraRuntimeError*](../classes/cameraerror.cameraruntimeerror.md)) => *void* | Called when any kind of runtime error occured. | `onInitialized`? | () => *void* | Called when the camera was successfully initialized. | -Defined in: [src/Camera.tsx:133](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L133) +Defined in: [src/Camera.tsx:133](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L133) ___ @@ -69,7 +69,7 @@ ___ Ƭ **CameraPermissionRequestResult**: *authorized* \| *denied* -Defined in: [src/Camera.tsx:152](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L152) +Defined in: [src/Camera.tsx:152](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L152) ___ @@ -77,7 +77,7 @@ ___ Ƭ **CameraPermissionStatus**: *authorized* \| *not-determined* \| *denied* \| *restricted* -Defined in: [src/Camera.tsx:151](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L151) +Defined in: [src/Camera.tsx:151](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L151) ___ @@ -85,7 +85,7 @@ ___ Ƭ **CameraProps**: CameraPresetProps \| CameraFormatProps & CameraScannerPropsNever \| [*CameraScannerProps*](camera.md#camerascannerprops) & [*CameraDeviceProps*](camera.md#cameradeviceprops) & [*CameraDynamicProps*](camera.md#cameradynamicprops) & [*CameraEventProps*](camera.md#cameraeventprops) & ViewProps -Defined in: [src/Camera.tsx:144](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L144) +Defined in: [src/Camera.tsx:144](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L144) ___ @@ -93,4 +93,4 @@ ___ Ƭ **CameraScannerProps**: *Modify* *void* ; `scannableCodes`: [*CodeType*](code.md#codetype)[] }\> -Defined in: [src/Camera.tsx:65](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L65) +Defined in: [src/Camera.tsx:65](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L65) diff --git a/docs/docs/api/modules/cameracodec.md b/docs/docs/api/modules/cameracodec.md index 17ee08d..428160d 100644 --- a/docs/docs/api/modules/cameracodec.md +++ b/docs/docs/api/modules/cameracodec.md @@ -20,7 +20,7 @@ Available Photo Codec types used for taking a photo. * `"jpeg"`: The JPEG (`jpeg`) video codec. _(iOS 11.0+)_ * `"hevc-alpha"`: The HEVC (`muxa`) video codec that supports an alpha channel. This constant is used to select the appropriate encoder, but is NOT used on the encoded content, which is backwards compatible and hence uses `"hvc1"` as its codec type. _(iOS 13.0+)_ -Defined in: [src/CameraCodec.ts:33](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraCodec.ts#L33) +Defined in: [src/CameraCodec.ts:33](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraCodec.ts#L33) ___ @@ -40,4 +40,4 @@ Available Video Codec types used for recording a video. * `"pro-res-422-proxy"`: The Apple ProRes 422 Proxy (`apco`) video codec. _(iOS 13.0+)_ * `"hevc-alpha"`: The HEVC (`muxa`) video codec that supports an alpha channel. This constant is used to select the appropriate encoder, but is NOT used on the encoded content, which is backwards compatible and hence uses `"hvc1"` as its codec type. _(iOS 13.0+)_ -Defined in: [src/CameraCodec.ts:14](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraCodec.ts#L14) +Defined in: [src/CameraCodec.ts:14](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraCodec.ts#L14) diff --git a/docs/docs/api/modules/cameradevice.md b/docs/docs/api/modules/cameradevice.md index 7858249..46a219f 100644 --- a/docs/docs/api/modules/cameradevice.md +++ b/docs/docs/api/modules/cameradevice.md @@ -20,7 +20,7 @@ Indicates a format's autofocus system. * `"contrast-detection"`: Indicates that autofocus is achieved by contrast detection. Contrast detection performs a focus scan to find the optimal position * `"phase-detection"`: Indicates that autofocus is achieved by phase detection. Phase detection has the ability to achieve focus in many cases without a focus scan. Phase detection autofocus is typically less visually intrusive than contrast detection autofocus -Defined in: [src/CameraDevice.ts:64](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L64) +Defined in: [src/CameraDevice.ts:64](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L64) ___ @@ -30,7 +30,7 @@ ___ Represents a camera device discovered by the `Camera.getAvailableCameraDevices()` function -Defined in: [src/CameraDevice.ts:159](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L159) +Defined in: [src/CameraDevice.ts:159](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L159) ___ @@ -40,7 +40,7 @@ ___ A Camera Device's video format. Do not create instances of this type yourself, only use `Camera.getAvailableCameraDevices(...)`. -Defined in: [src/CameraDevice.ts:85](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L85) +Defined in: [src/CameraDevice.ts:85](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L85) ___ @@ -58,7 +58,7 @@ Indicates a format's color space. #### The following colorspaces are available on Android: * `"yuv"`: The YCbCr color space. -Defined in: [src/CameraDevice.ts:55](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L55) +Defined in: [src/CameraDevice.ts:55](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L55) ___ @@ -66,7 +66,7 @@ ___ Ƭ **FrameRateRange**: *Readonly*<{ `maxFrameRate`: *number* ; `minFrameRate`: *number* }\> -Defined in: [src/CameraDevice.ts:77](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L77) +Defined in: [src/CameraDevice.ts:77](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L77) ___ @@ -81,7 +81,7 @@ Indentifiers for a logical camera (Combinations of multiple physical cameras to * `"triple-camera"`: A device that consists of three cameras of fixed focal length, one ultrawide angle, one wide angle, and one telephoto. * `"true-depth-camera"`: A combination of cameras and other sensors that creates a capture device capable of photo, video, and depth capture. -Defined in: [src/CameraDevice.ts:20](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L20) +Defined in: [src/CameraDevice.ts:20](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L20) ___ @@ -95,7 +95,7 @@ Indentifiers for a physical camera (one that actually exists on the back/front o * `"wide-angle-camera"`: A built-in wide-angle camera. (focal length between 24mm and 35mm) * `"telephoto-camera"`: A built-in camera device with a longer focal length than a wide-angle camera. (focal length between above 85mm) -Defined in: [src/CameraDevice.ts:10](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L10) +Defined in: [src/CameraDevice.ts:10](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L10) ___ @@ -111,7 +111,7 @@ Indicates a format's supported video stabilization mode * `"cinematic-extended"`: Indicates that the video should be stabilized using the extended cinematic stabilization algorithm. Enabling extended cinematic stabilization introduces longer latency into the video capture pipeline compared to the AVCaptureVideoStabilizationModeCinematic and consumes more memory, but yields improved stability. It is recommended to use identical or similar min and max frame durations in conjunction with this mode (iOS 13.0+) * `"auto"`: Indicates that the most appropriate video stabilization mode for the device and format should be chosen automatically -Defined in: [src/CameraDevice.ts:75](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L75) +Defined in: [src/CameraDevice.ts:75](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L75) ## Functions @@ -131,4 +131,4 @@ Name | Type | **Returns:** *ultra-wide-angle-camera* \| *wide-angle-camera* \| *telephoto-camera* \| *dual-camera* \| *dual-wide-camera* \| *triple-camera* \| *true-depth-camera* -Defined in: [src/CameraDevice.ts:26](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L26) +Defined in: [src/CameraDevice.ts:26](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L26) diff --git a/docs/docs/api/modules/cameraerror.md b/docs/docs/api/modules/cameraerror.md index 20887e8..a777325 100644 --- a/docs/docs/api/modules/cameraerror.md +++ b/docs/docs/api/modules/cameraerror.md @@ -25,7 +25,7 @@ hide_title: true Ƭ **CaptureError**: *capture/invalid-photo-format* \| *capture/encoder-error* \| *capture/muxer-error* \| *capture/recording-in-progress* \| *capture/no-recording-in-progress* \| *capture/file-io-error* \| *capture/create-temp-file-error* \| *capture/invalid-photo-codec* \| *capture/not-bound-error* \| *capture/capture-type-not-supported* \| *capture/unknown* -Defined in: [src/CameraError.ts:24](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L24) +Defined in: [src/CameraError.ts:24](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L24) ___ @@ -33,7 +33,7 @@ ___ Ƭ **DeviceError**: *device/configuration-error* \| *device/no-device* \| *device/invalid-device* \| *device/torch-unavailable* \| *device/microphone-unavailable* \| *device/low-light-boost-not-supported* \| *device/focus-not-supported* \| *device/camera-not-available-on-simulator* -Defined in: [src/CameraError.ts:8](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L8) +Defined in: [src/CameraError.ts:8](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L8) ___ @@ -41,7 +41,7 @@ ___ Ƭ **FormatError**: *format/invalid-fps* \| *format/invalid-hdr* \| *format/invalid-low-light-boost* \| *format/invalid-format* \| *format/invalid-preset* -Defined in: [src/CameraError.ts:17](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L17) +Defined in: [src/CameraError.ts:17](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L17) ___ @@ -49,7 +49,7 @@ ___ Ƭ **ParameterError**: *parameter/invalid-parameter* \| *parameter/unsupported-os* \| *parameter/unsupported-output* \| *parameter/unsupported-input* \| *parameter/invalid-combination* -Defined in: [src/CameraError.ts:2](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L2) +Defined in: [src/CameraError.ts:2](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L2) ___ @@ -57,7 +57,7 @@ ___ Ƭ **PermissionError**: *permission/microphone-permission-denied* \| *permission/camera-permission-denied* -Defined in: [src/CameraError.ts:1](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L1) +Defined in: [src/CameraError.ts:1](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L1) ___ @@ -65,7 +65,7 @@ ___ Ƭ **SessionError**: *session/camera-not-ready* \| *session/audio-session-setup-failed* -Defined in: [src/CameraError.ts:23](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L23) +Defined in: [src/CameraError.ts:23](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L23) ___ @@ -73,7 +73,7 @@ ___ Ƭ **SystemError**: *system/no-camera-manager* -Defined in: [src/CameraError.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L36) +Defined in: [src/CameraError.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L36) ___ @@ -81,7 +81,7 @@ ___ Ƭ **UnknownError**: *unknown/unknown* -Defined in: [src/CameraError.ts:37](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L37) +Defined in: [src/CameraError.ts:37](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L37) ## Functions @@ -97,7 +97,7 @@ Name | Type | **Returns:** error is ErrorWithCause -Defined in: [src/CameraError.ts:127](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L127) +Defined in: [src/CameraError.ts:127](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L127) ___ @@ -125,4 +125,4 @@ Name | Type | Description | A `CameraRuntimeError` or `CameraCaptureError`, or the nativeError if it's not parsable -Defined in: [src/CameraError.ts:153](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L153) +Defined in: [src/CameraError.ts:153](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L153) diff --git a/docs/docs/api/modules/cameraposition.md b/docs/docs/api/modules/cameraposition.md index 76f45fd..c80d166 100644 --- a/docs/docs/api/modules/cameraposition.md +++ b/docs/docs/api/modules/cameraposition.md @@ -25,4 +25,4 @@ Represents the camera device position. #### Android only * `"external"`: The camera device is an external camera, and has no fixed facing relative to the device's screen. (Android only) -Defined in: [src/CameraPosition.ts:13](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraPosition.ts#L13) +Defined in: [src/CameraPosition.ts:13](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraPosition.ts#L13) diff --git a/docs/docs/api/modules/camerapreset.md b/docs/docs/api/modules/camerapreset.md index 624ffb5..8bfa10a 100644 --- a/docs/docs/api/modules/camerapreset.md +++ b/docs/docs/api/modules/camerapreset.md @@ -29,4 +29,4 @@ Indicates the quality level or bit rate of the output. * `"photo"`: Specifies capture settings suitable for high-resolution photo quality output. * `"vga-640x480"`: Specifies capture settings suitable for VGA quality (640 x 480 pixel) video output. -Defined in: [src/CameraPreset.ts:17](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraPreset.ts#L17) +Defined in: [src/CameraPreset.ts:17](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraPreset.ts#L17) diff --git a/docs/docs/api/modules/code.md b/docs/docs/api/modules/code.md index b28e73a..79db96b 100644 --- a/docs/docs/api/modules/code.md +++ b/docs/docs/api/modules/code.md @@ -16,7 +16,7 @@ hide_title: true Represents a File in the local filesystem. -Defined in: [src/Code.ts:27](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Code.ts#L27) +Defined in: [src/Code.ts:27](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Code.ts#L27) ___ @@ -26,4 +26,4 @@ ___ Available code types -Defined in: [src/Code.ts:4](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Code.ts#L4) +Defined in: [src/Code.ts:4](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Code.ts#L4) diff --git a/docs/docs/api/modules/hooks_usecameradevices.md b/docs/docs/api/modules/hooks_usecameradevices.md index 43e00ce..1a4a0da 100644 --- a/docs/docs/api/modules/hooks_usecameradevices.md +++ b/docs/docs/api/modules/hooks_usecameradevices.md @@ -29,7 +29,7 @@ return The best matching `CameraDevice`. -Defined in: [src/hooks/useCameraDevices.ts:29](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/hooks/useCameraDevices.ts#L29) +Defined in: [src/hooks/useCameraDevices.ts:29](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/hooks/useCameraDevices.ts#L29) ▸ **useCameraDevices**(`deviceType`: [*PhysicalCameraDeviceType*](cameradevice.md#physicalcameradevicetype) \| [*LogicalCameraDeviceType*](cameradevice.md#logicalcameradevicetype)): CameraDevices @@ -54,4 +54,4 @@ Name | Type | Description | A `CameraDevice` for the requested device type. -Defined in: [src/hooks/useCameraDevices.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/hooks/useCameraDevices.ts#L44) +Defined in: [src/hooks/useCameraDevices.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/hooks/useCameraDevices.ts#L44) diff --git a/docs/docs/api/modules/hooks_usecameraformat.md b/docs/docs/api/modules/hooks_usecameraformat.md index 4dae5c4..dab7e83 100644 --- a/docs/docs/api/modules/hooks_usecameraformat.md +++ b/docs/docs/api/modules/hooks_usecameraformat.md @@ -29,4 +29,4 @@ Name | Type | Description | The best matching format for the given camera device, or `undefined` if the camera device is `undefined`. -Defined in: [src/hooks/useCameraFormat.ts:16](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/hooks/useCameraFormat.ts#L16) +Defined in: [src/hooks/useCameraFormat.ts:16](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/hooks/useCameraFormat.ts#L16) diff --git a/docs/docs/api/modules/index.md b/docs/docs/api/modules/index.md index adca759..4541c7d 100644 --- a/docs/docs/api/modules/index.md +++ b/docs/docs/api/modules/index.md @@ -36,7 +36,7 @@ Indicates a format's autofocus system. * `"contrast-detection"`: Indicates that autofocus is achieved by contrast detection. Contrast detection performs a focus scan to find the optimal position * `"phase-detection"`: Indicates that autofocus is achieved by phase detection. Phase detection has the ability to achieve focus in many cases without a focus scan. Phase detection autofocus is typically less visually intrusive than contrast detection autofocus -Defined in: [src/CameraDevice.ts:64](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L64) +Defined in: [src/CameraDevice.ts:64](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L64) ___ @@ -46,7 +46,7 @@ ___ Represents a camera device discovered by the `Camera.getAvailableCameraDevices()` function -Defined in: [src/CameraDevice.ts:159](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L159) +Defined in: [src/CameraDevice.ts:159](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L159) ___ @@ -56,7 +56,7 @@ ___ A Camera Device's video format. Do not create instances of this type yourself, only use `Camera.getAvailableCameraDevices(...)`. -Defined in: [src/CameraDevice.ts:85](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L85) +Defined in: [src/CameraDevice.ts:85](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L85) ___ @@ -73,7 +73,7 @@ Name | Type | Description | `enableHighResolutionCapture`? | *boolean* | Indicates whether the photo render pipeline should be configured to deliver high resolution still images **`default`** false | `enablePortraitEffectsMatteDelivery`? | *boolean* | A boolean specifying whether the photo render pipeline is prepared for portrait effects matte delivery. When enabling this, you must also set `enableDepthData` to `true`. **`platform`** iOS 12.0+ **`default`** false | -Defined in: [src/Camera.tsx:73](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L73) +Defined in: [src/Camera.tsx:73](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L73) ___ @@ -90,7 +90,7 @@ Name | Type | Description | `torch`? | *off* \| *on* | Set the current torch mode. Note: The torch is only available on `"back"` cameras, and isn't supported by every phone. **`default`** "off" | `zoom`? | *number* | Specifies the zoom factor of the current camera, in percent. (`0.0` - `1.0`) **`default`** 0.0 | -Defined in: [src/Camera.tsx:102](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L102) +Defined in: [src/Camera.tsx:102](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L102) ___ @@ -105,7 +105,7 @@ Name | Type | Description | `onError`? | (`error`: [*CameraRuntimeError*](../classes/cameraerror.cameraruntimeerror.md)) => *void* | Called when any kind of runtime error occured. | `onInitialized`? | () => *void* | Called when the camera was successfully initialized. | -Defined in: [src/Camera.tsx:133](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L133) +Defined in: [src/Camera.tsx:133](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L133) ___ @@ -113,7 +113,7 @@ ___ Ƭ **CameraPermissionRequestResult**: *authorized* \| *denied* -Defined in: [src/Camera.tsx:152](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L152) +Defined in: [src/Camera.tsx:152](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L152) ___ @@ -121,7 +121,7 @@ ___ Ƭ **CameraPermissionStatus**: *authorized* \| *not-determined* \| *denied* \| *restricted* -Defined in: [src/Camera.tsx:151](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L151) +Defined in: [src/Camera.tsx:151](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L151) ___ @@ -135,7 +135,7 @@ Available Photo Codec types used for taking a photo. * `"jpeg"`: The JPEG (`jpeg`) video codec. _(iOS 11.0+)_ * `"hevc-alpha"`: The HEVC (`muxa`) video codec that supports an alpha channel. This constant is used to select the appropriate encoder, but is NOT used on the encoded content, which is backwards compatible and hence uses `"hvc1"` as its codec type. _(iOS 13.0+)_ -Defined in: [src/CameraCodec.ts:33](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraCodec.ts#L33) +Defined in: [src/CameraCodec.ts:33](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraCodec.ts#L33) ___ @@ -154,7 +154,7 @@ Represents the camera device position. #### Android only * `"external"`: The camera device is an external camera, and has no fixed facing relative to the device's screen. (Android only) -Defined in: [src/CameraPosition.ts:13](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraPosition.ts#L13) +Defined in: [src/CameraPosition.ts:13](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraPosition.ts#L13) ___ @@ -177,7 +177,7 @@ Indicates the quality level or bit rate of the output. * `"photo"`: Specifies capture settings suitable for high-resolution photo quality output. * `"vga-640x480"`: Specifies capture settings suitable for VGA quality (640 x 480 pixel) video output. -Defined in: [src/CameraPreset.ts:17](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraPreset.ts#L17) +Defined in: [src/CameraPreset.ts:17](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraPreset.ts#L17) ___ @@ -185,7 +185,7 @@ ___ Ƭ **CameraProps**: CameraPresetProps \| CameraFormatProps & CameraScannerPropsNever \| [*CameraScannerProps*](camera.md#camerascannerprops) & [*CameraDeviceProps*](camera.md#cameradeviceprops) & [*CameraDynamicProps*](camera.md#cameradynamicprops) & [*CameraEventProps*](camera.md#cameraeventprops) & ViewProps -Defined in: [src/Camera.tsx:144](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L144) +Defined in: [src/Camera.tsx:144](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L144) ___ @@ -193,7 +193,7 @@ ___ Ƭ **CameraScannerProps**: *Modify* *void* ; `scannableCodes`: [*CodeType*](code.md#codetype)[] }\> -Defined in: [src/Camera.tsx:65](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Camera.tsx#L65) +Defined in: [src/Camera.tsx:65](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Camera.tsx#L65) ___ @@ -213,7 +213,7 @@ Available Video Codec types used for recording a video. * `"pro-res-422-proxy"`: The Apple ProRes 422 Proxy (`apco`) video codec. _(iOS 13.0+)_ * `"hevc-alpha"`: The HEVC (`muxa`) video codec that supports an alpha channel. This constant is used to select the appropriate encoder, but is NOT used on the encoded content, which is backwards compatible and hence uses `"hvc1"` as its codec type. _(iOS 13.0+)_ -Defined in: [src/CameraCodec.ts:14](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraCodec.ts#L14) +Defined in: [src/CameraCodec.ts:14](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraCodec.ts#L14) ___ @@ -221,7 +221,7 @@ ___ Ƭ **CaptureError**: *capture/invalid-photo-format* \| *capture/encoder-error* \| *capture/muxer-error* \| *capture/recording-in-progress* \| *capture/no-recording-in-progress* \| *capture/file-io-error* \| *capture/create-temp-file-error* \| *capture/invalid-photo-codec* \| *capture/not-bound-error* \| *capture/capture-type-not-supported* \| *capture/unknown* -Defined in: [src/CameraError.ts:24](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L24) +Defined in: [src/CameraError.ts:24](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L24) ___ @@ -231,7 +231,7 @@ ___ Represents a File in the local filesystem. -Defined in: [src/Code.ts:27](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Code.ts#L27) +Defined in: [src/Code.ts:27](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Code.ts#L27) ___ @@ -241,7 +241,7 @@ ___ Available code types -Defined in: [src/Code.ts:4](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/Code.ts#L4) +Defined in: [src/Code.ts:4](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/Code.ts#L4) ___ @@ -259,7 +259,7 @@ Indicates a format's color space. #### The following colorspaces are available on Android: * `"yuv"`: The YCbCr color space. -Defined in: [src/CameraDevice.ts:55](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L55) +Defined in: [src/CameraDevice.ts:55](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L55) ___ @@ -267,7 +267,7 @@ ___ Ƭ **DeviceError**: *device/configuration-error* \| *device/no-device* \| *device/invalid-device* \| *device/torch-unavailable* \| *device/microphone-unavailable* \| *device/low-light-boost-not-supported* \| *device/focus-not-supported* \| *device/camera-not-available-on-simulator* -Defined in: [src/CameraError.ts:8](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L8) +Defined in: [src/CameraError.ts:8](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L8) ___ @@ -275,7 +275,7 @@ ___ Ƭ **FormatError**: *format/invalid-fps* \| *format/invalid-hdr* \| *format/invalid-low-light-boost* \| *format/invalid-format* \| *format/invalid-preset* -Defined in: [src/CameraError.ts:17](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L17) +Defined in: [src/CameraError.ts:17](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L17) ___ @@ -283,7 +283,7 @@ ___ Ƭ **FrameRateRange**: *Readonly*<{ `maxFrameRate`: *number* ; `minFrameRate`: *number* }\> -Defined in: [src/CameraDevice.ts:77](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L77) +Defined in: [src/CameraDevice.ts:77](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L77) ___ @@ -298,7 +298,7 @@ Indentifiers for a logical camera (Combinations of multiple physical cameras to * `"triple-camera"`: A device that consists of three cameras of fixed focal length, one ultrawide angle, one wide angle, and one telephoto. * `"true-depth-camera"`: A combination of cameras and other sensors that creates a capture device capable of photo, video, and depth capture. -Defined in: [src/CameraDevice.ts:20](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L20) +Defined in: [src/CameraDevice.ts:20](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L20) ___ @@ -306,7 +306,7 @@ ___ Ƭ **ParameterError**: *parameter/invalid-parameter* \| *parameter/unsupported-os* \| *parameter/unsupported-output* \| *parameter/unsupported-input* \| *parameter/invalid-combination* -Defined in: [src/CameraError.ts:2](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L2) +Defined in: [src/CameraError.ts:2](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L2) ___ @@ -314,7 +314,7 @@ ___ Ƭ **PermissionError**: *permission/microphone-permission-denied* \| *permission/camera-permission-denied* -Defined in: [src/CameraError.ts:1](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L1) +Defined in: [src/CameraError.ts:1](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L1) ___ @@ -324,7 +324,7 @@ ___ Represents a Photo taken by the Camera written to the local filesystem. -Defined in: [src/PhotoFile.ts:68](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L68) +Defined in: [src/PhotoFile.ts:68](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L68) ___ @@ -338,7 +338,7 @@ Indentifiers for a physical camera (one that actually exists on the back/front o * `"wide-angle-camera"`: A built-in wide-angle camera. (focal length between 24mm and 35mm) * `"telephoto-camera"`: A built-in camera device with a longer focal length than a wide-angle camera. (focal length between above 85mm) -Defined in: [src/CameraDevice.ts:10](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L10) +Defined in: [src/CameraDevice.ts:10](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L10) ___ @@ -346,7 +346,7 @@ ___ Ƭ **SessionError**: *session/camera-not-ready* \| *session/audio-session-setup-failed* -Defined in: [src/CameraError.ts:23](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L23) +Defined in: [src/CameraError.ts:23](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L23) ___ @@ -363,7 +363,7 @@ Name | Type | Description | `height` | *number* | Points in height. | `width` | *number* | Points in width. | -Defined in: [src/utils/FormatFilter.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/utils/FormatFilter.ts#L36) +Defined in: [src/utils/FormatFilter.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/utils/FormatFilter.ts#L36) ___ @@ -371,7 +371,7 @@ ___ Ƭ **SystemError**: *system/no-camera-manager* -Defined in: [src/CameraError.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L36) +Defined in: [src/CameraError.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L36) ___ @@ -381,7 +381,7 @@ ___ Represents a temporary file in the local filesystem. -Defined in: [src/TemporaryFile.ts:4](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/TemporaryFile.ts#L4) +Defined in: [src/TemporaryFile.ts:4](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/TemporaryFile.ts#L4) ___ @@ -389,7 +389,7 @@ ___ Ƭ **UnknownError**: *unknown/unknown* -Defined in: [src/CameraError.ts:37](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L37) +Defined in: [src/CameraError.ts:37](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L37) ___ @@ -399,7 +399,7 @@ ___ Represents a Video taken by the Camera written to the local filesystem. -Defined in: [src/VideoFile.ts:50](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L50) +Defined in: [src/VideoFile.ts:50](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L50) ___ @@ -415,7 +415,7 @@ Indicates a format's supported video stabilization mode * `"cinematic-extended"`: Indicates that the video should be stabilized using the extended cinematic stabilization algorithm. Enabling extended cinematic stabilization introduces longer latency into the video capture pipeline compared to the AVCaptureVideoStabilizationModeCinematic and consumes more memory, but yields improved stability. It is recommended to use identical or similar min and max frame durations in conjunction with this mode (iOS 13.0+) * `"auto"`: Indicates that the most appropriate video stabilization mode for the device and format should be chosen automatically -Defined in: [src/CameraDevice.ts:75](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L75) +Defined in: [src/CameraDevice.ts:75](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L75) ## Functions @@ -443,7 +443,7 @@ Name | Type | Description | A list of Camera Device Formats that match the given `viewSize`' aspect ratio _as close as possible_. -Defined in: [src/utils/FormatFilter.ts:92](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/utils/FormatFilter.ts#L92) +Defined in: [src/utils/FormatFilter.ts:92](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/utils/FormatFilter.ts#L92) ___ @@ -470,7 +470,7 @@ Name | Type | Description | **Returns:** *boolean* -Defined in: [src/utils/FormatFilter.ts:137](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/utils/FormatFilter.ts#L137) +Defined in: [src/utils/FormatFilter.ts:137](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/utils/FormatFilter.ts#L137) ___ @@ -486,7 +486,7 @@ Name | Type | **Returns:** error is ErrorWithCause -Defined in: [src/CameraError.ts:127](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L127) +Defined in: [src/CameraError.ts:127](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L127) ___ @@ -506,7 +506,7 @@ Name | Type | **Returns:** *ultra-wide-angle-camera* \| *wide-angle-camera* \| *telephoto-camera* \| *dual-camera* \| *dual-wide-camera* \| *triple-camera* \| *true-depth-camera* -Defined in: [src/CameraDevice.ts:26](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraDevice.ts#L26) +Defined in: [src/CameraDevice.ts:26](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraDevice.ts#L26) ___ @@ -537,7 +537,7 @@ Name | Type | **Returns:** *number* -Defined in: [src/utils/FormatFilter.ts:18](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/utils/FormatFilter.ts#L18) +Defined in: [src/utils/FormatFilter.ts:18](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/utils/FormatFilter.ts#L18) ___ @@ -564,7 +564,7 @@ Name | Type | **Returns:** *number* -Defined in: [src/utils/FormatFilter.ts:112](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/utils/FormatFilter.ts#L112) +Defined in: [src/utils/FormatFilter.ts:112](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/utils/FormatFilter.ts#L112) ___ @@ -592,7 +592,7 @@ Name | Type | Description | A `CameraRuntimeError` or `CameraCaptureError`, or the nativeError if it's not parsable -Defined in: [src/CameraError.ts:153](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/CameraError.ts#L153) +Defined in: [src/CameraError.ts:153](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/CameraError.ts#L153) ___ @@ -615,7 +615,7 @@ return The best matching `CameraDevice`. -Defined in: [src/hooks/useCameraDevices.ts:29](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/hooks/useCameraDevices.ts#L29) +Defined in: [src/hooks/useCameraDevices.ts:29](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/hooks/useCameraDevices.ts#L29) ▸ **useCameraDevices**(`deviceType`: [*PhysicalCameraDeviceType*](cameradevice.md#physicalcameradevicetype) \| [*LogicalCameraDeviceType*](cameradevice.md#logicalcameradevicetype)): CameraDevices @@ -640,7 +640,7 @@ Name | Type | Description | A `CameraDevice` for the requested device type. -Defined in: [src/hooks/useCameraDevices.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/hooks/useCameraDevices.ts#L44) +Defined in: [src/hooks/useCameraDevices.ts:44](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/hooks/useCameraDevices.ts#L44) ___ @@ -663,4 +663,4 @@ Name | Type | Description | The best matching format for the given camera device, or `undefined` if the camera device is `undefined`. -Defined in: [src/hooks/useCameraFormat.ts:16](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/hooks/useCameraFormat.ts#L16) +Defined in: [src/hooks/useCameraFormat.ts:16](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/hooks/useCameraFormat.ts#L16) diff --git a/docs/docs/api/modules/photofile.md b/docs/docs/api/modules/photofile.md index 1206b17..e689925 100644 --- a/docs/docs/api/modules/photofile.md +++ b/docs/docs/api/modules/photofile.md @@ -22,4 +22,4 @@ hide_title: true Represents a Photo taken by the Camera written to the local filesystem. -Defined in: [src/PhotoFile.ts:68](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/PhotoFile.ts#L68) +Defined in: [src/PhotoFile.ts:68](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/PhotoFile.ts#L68) diff --git a/docs/docs/api/modules/temporaryfile.md b/docs/docs/api/modules/temporaryfile.md index f054333..4b431f3 100644 --- a/docs/docs/api/modules/temporaryfile.md +++ b/docs/docs/api/modules/temporaryfile.md @@ -16,4 +16,4 @@ hide_title: true Represents a temporary file in the local filesystem. -Defined in: [src/TemporaryFile.ts:4](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/TemporaryFile.ts#L4) +Defined in: [src/TemporaryFile.ts:4](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/TemporaryFile.ts#L4) diff --git a/docs/docs/api/modules/utils_formatfilter.md b/docs/docs/api/modules/utils_formatfilter.md index 97a2b14..4c4fc62 100644 --- a/docs/docs/api/modules/utils_formatfilter.md +++ b/docs/docs/api/modules/utils_formatfilter.md @@ -23,7 +23,7 @@ Name | Type | Description | `height` | *number* | Points in height. | `width` | *number* | Points in width. | -Defined in: [src/utils/FormatFilter.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/utils/FormatFilter.ts#L36) +Defined in: [src/utils/FormatFilter.ts:36](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/utils/FormatFilter.ts#L36) ## Functions @@ -51,7 +51,7 @@ Name | Type | Description | A list of Camera Device Formats that match the given `viewSize`' aspect ratio _as close as possible_. -Defined in: [src/utils/FormatFilter.ts:92](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/utils/FormatFilter.ts#L92) +Defined in: [src/utils/FormatFilter.ts:92](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/utils/FormatFilter.ts#L92) ___ @@ -78,7 +78,7 @@ Name | Type | Description | **Returns:** *boolean* -Defined in: [src/utils/FormatFilter.ts:137](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/utils/FormatFilter.ts#L137) +Defined in: [src/utils/FormatFilter.ts:137](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/utils/FormatFilter.ts#L137) ___ @@ -109,7 +109,7 @@ Name | Type | **Returns:** *number* -Defined in: [src/utils/FormatFilter.ts:18](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/utils/FormatFilter.ts#L18) +Defined in: [src/utils/FormatFilter.ts:18](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/utils/FormatFilter.ts#L18) ___ @@ -136,4 +136,4 @@ Name | Type | **Returns:** *number* -Defined in: [src/utils/FormatFilter.ts:112](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/utils/FormatFilter.ts#L112) +Defined in: [src/utils/FormatFilter.ts:112](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/utils/FormatFilter.ts#L112) diff --git a/docs/docs/api/modules/videofile.md b/docs/docs/api/modules/videofile.md index e6ebd31..636bad8 100644 --- a/docs/docs/api/modules/videofile.md +++ b/docs/docs/api/modules/videofile.md @@ -22,4 +22,4 @@ hide_title: true Represents a Video taken by the Camera written to the local filesystem. -Defined in: [src/VideoFile.ts:50](https://github.com/cuvent/react-native-vision-camera/blob/daa3c48/src/VideoFile.ts#L50) +Defined in: [src/VideoFile.ts:50](https://github.com/cuvent/react-native-vision-camera/blob/919aa3d/src/VideoFile.ts#L50) diff --git a/docs/package.json b/docs/package.json index dbe8896..cb2b24f 100644 --- a/docs/package.json +++ b/docs/package.json @@ -35,6 +35,6 @@ "docusaurus-plugin-typedoc": "^0.10.0", "typedoc": "^0.20.28", "typedoc-plugin-markdown": "^3.6.0", - "typescript": "^4.2.2" + "typescript": "^4.1.5" } } diff --git a/docs/yarn.lock b/docs/yarn.lock index c55c153..38f72ab 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -9760,10 +9760,10 @@ typedoc@^0.20.28: shiki "^0.9.2" typedoc-default-themes "^0.12.7" -typescript@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.2.tgz#1450f020618f872db0ea17317d16d8da8ddb8c4c" - integrity sha512-tbb+NVrLfnsJy3M59lsDgrzWIflR4d4TIUjz+heUnHZwdF7YsrMTKoRERiIvI2lvBG95dfpLxB21WZhys1bgaQ== +typescript@^4.1.5: + version "4.1.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.5.tgz#123a3b214aaff3be32926f0d8f1f6e704eb89a72" + integrity sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA== ua-parser-js@^0.7.18: version "0.7.24"