{"name":"expo-camera","kind":1,"children":[{"name":"AutoFocus","kind":8,"children":[{"name":"auto","kind":16,"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"web"}]}]},"type":{"type":"literal","value":"auto"}},{"name":"off","kind":16,"type":{"type":"literal","value":"off"}},{"name":"on","kind":16,"type":{"type":"literal","value":"on"}},{"name":"singleShot","kind":16,"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"web"}]}]},"type":{"type":"literal","value":"singleShot"}}]},{"name":"CameraOrientation","kind":8,"children":[{"name":"landscapeLeft","kind":16,"type":{"type":"literal","value":3}},{"name":"landscapeRight","kind":16,"type":{"type":"literal","value":4}},{"name":"portrait","kind":16,"type":{"type":"literal","value":1}},{"name":"portraitUpsideDown","kind":16,"type":{"type":"literal","value":2}}]},{"name":"CameraType","kind":8,"children":[{"name":"back","kind":16,"type":{"type":"literal","value":"back"}},{"name":"front","kind":16,"type":{"type":"literal","value":"front"}}]},{"name":"FlashMode","kind":8,"children":[{"name":"auto","kind":16,"type":{"type":"literal","value":"auto"}},{"name":"off","kind":16,"type":{"type":"literal","value":"off"}},{"name":"on","kind":16,"type":{"type":"literal","value":"on"}},{"name":"torch","kind":16,"type":{"type":"literal","value":"torch"}}]},{"name":"ImageType","kind":8,"children":[{"name":"jpg","kind":16,"type":{"type":"literal","value":"jpg"}},{"name":"png","kind":16,"type":{"type":"literal","value":"png"}}]},{"name":"PermissionStatus","kind":8,"children":[{"name":"DENIED","kind":16,"comment":{"summary":[{"kind":"text","text":"User has denied the permission."}]},"type":{"type":"literal","value":"denied"}},{"name":"GRANTED","kind":16,"comment":{"summary":[{"kind":"text","text":"User has granted the permission."}]},"type":{"type":"literal","value":"granted"}},{"name":"UNDETERMINED","kind":16,"comment":{"summary":[{"kind":"text","text":"User hasn't granted or denied the permission yet."}]},"type":{"type":"literal","value":"undetermined"}}]},{"name":"VideoCodec","kind":8,"comment":{"summary":[{"kind":"text","text":"This option specifies what codec to use when recording a video."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"children":[{"name":"AppleProRes422","kind":16,"type":{"type":"literal","value":"apcn"}},{"name":"AppleProRes4444","kind":16,"type":{"type":"literal","value":"ap4h"}},{"name":"H264","kind":16,"type":{"type":"literal","value":"avc1"}},{"name":"HEVC","kind":16,"type":{"type":"literal","value":"hvc1"}},{"name":"JPEG","kind":16,"type":{"type":"literal","value":"jpeg"}}]},{"name":"VideoQuality","kind":8,"children":[{"name":"1080p","kind":16,"type":{"type":"literal","value":"1080p"}},{"name":"2160p","kind":16,"type":{"type":"literal","value":"2160p"}},{"name":"480p","kind":16,"type":{"type":"literal","value":"480p"}},{"name":"4:3","kind":16,"type":{"type":"literal","value":"4:3"}},{"name":"720p","kind":16,"type":{"type":"literal","value":"720p"}}]},{"name":"VideoStabilization","kind":8,"comment":{"summary":[{"kind":"text","text":"This option specifies the stabilization mode to use when recording a video."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"children":[{"name":"auto","kind":16,"type":{"type":"literal","value":"auto"}},{"name":"cinematic","kind":16,"type":{"type":"literal","value":"cinematic"}},{"name":"off","kind":16,"type":{"type":"literal","value":"off"}},{"name":"standard","kind":16,"type":{"type":"literal","value":"standard"}}]},{"name":"WhiteBalance","kind":8,"children":[{"name":"auto","kind":16,"type":{"type":"literal","value":"auto"}},{"name":"cloudy","kind":16,"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"literal","value":"cloudy"}},{"name":"continuous","kind":16,"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"web"}]}]},"type":{"type":"literal","value":"continuous"}},{"name":"fluorescent","kind":16,"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"literal","value":"fluorescent"}},{"name":"incandescent","kind":16,"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"literal","value":"incandescent"}},{"name":"manual","kind":16,"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"web"}]}]},"type":{"type":"literal","value":"manual"}},{"name":"shadow","kind":16,"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"literal","value":"shadow"}},{"name":"sunny","kind":16,"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"literal","value":"sunny"}}]},{"name":"Camera","kind":128,"children":[{"name":"constructor","kind":512,"flags":{"isExternal":true},"signatures":[{"name":"new Camera","kind":16384,"flags":{"isExternal":true},"parameters":[{"name":"props","kind":32768,"flags":{"isExternal":true},"type":{"type":"union","types":[{"type":"reference","name":"CameraProps"},{"type":"reference","typeArguments":[{"type":"reference","name":"CameraProps"}],"name":"Readonly","qualifiedName":"Readonly","package":"typescript"}]}}],"type":{"type":"reference","name":"default"},"inheritedFrom":{"type":"reference","name":"React.Component.constructor"}},{"name":"new Camera","kind":16384,"flags":{"isExternal":true},"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[]},{"tag":"@see","content":[{"kind":"text","text":"https://reactjs.org/docs/legacy-context.html"}]}]},"parameters":[{"name":"props","kind":32768,"flags":{"isExternal":true},"type":{"type":"reference","name":"CameraProps"}},{"name":"context","kind":32768,"flags":{"isExternal":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"default"},"inheritedFrom":{"type":"reference","name":"React.Component.constructor"}}],"inheritedFrom":{"type":"reference","name":"React.Component.constructor"}},{"name":"_cameraHandle","kind":1024,"flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"number"}]}},{"name":"_cameraRef","kind":1024,"flags":{"isOptional":true},"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","typeArguments":[{"type":"reflection","declaration":{"name":"__type","kind":65536}},{"type":"reflection","declaration":{"name":"__type","kind":65536}},{"type":"intrinsic","name":"any"}],"name":"Component","qualifiedName":"React.Component","package":"@types/react"}]}},{"name":"_lastEvents","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"indexSignature":{"name":"__index","kind":8192,"parameters":[{"name":"eventName","kind":32768,"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"string"}}}},"defaultValue":"{}"},{"name":"_lastEventsTimes","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"indexSignature":{"name":"__index","kind":8192,"parameters":[{"name":"eventName","kind":32768,"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","name":"Date","qualifiedName":"Date","package":"typescript"}}}},"defaultValue":"{}"},{"name":"Constants","kind":1024,"flags":{"isStatic":true},"type":{"type":"reference","name":"ConstantsType"},"defaultValue":"..."},{"name":"ConversionTables","kind":1024,"flags":{"isStatic":true},"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"autoFocus","kind":1024,"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"literal","value":"on"},{"type":"literal","value":"off"},{"type":"literal","value":"auto"},{"type":"literal","value":"singleShot"}]},{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"boolean"}]}],"name":"Record","qualifiedName":"Record","package":"typescript"}},{"name":"flashMode","kind":1024,"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"literal","value":"on"},{"type":"literal","value":"off"},{"type":"literal","value":"auto"},{"type":"literal","value":"torch"}]},{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}],"name":"Record","qualifiedName":"Record","package":"typescript"}},{"name":"type","kind":1024,"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"literal","value":"front"},{"type":"literal","value":"back"}]},{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}],"name":"Record","qualifiedName":"Record","package":"typescript"}},{"name":"whiteBalance","kind":1024,"type":{"type":"reference","typeArguments":[{"type":"union","types":[{"type":"literal","value":"auto"},{"type":"literal","value":"sunny"},{"type":"literal","value":"cloudy"},{"type":"literal","value":"shadow"},{"type":"literal","value":"incandescent"},{"type":"literal","value":"fluorescent"},{"type":"literal","value":"continuous"},{"type":"literal","value":"manual"}]},{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"number"}]}],"name":"Record","qualifiedName":"Record","package":"typescript"}}]}},"defaultValue":"ConversionTables"},{"name":"defaultProps","kind":1024,"flags":{"isStatic":true},"type":{"type":"reference","name":"CameraProps"},"defaultValue":"..."},{"name":"useCameraPermissions","kind":1024,"flags":{"isStatic":true},"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"signatures":[{"name":"__type","kind":4096,"comment":{"summary":[{"kind":"text","text":"Check or request permissions to access the camera.\nThis uses both "},{"kind":"code","text":"`requestCameraPermissionsAsync`"},{"kind":"text","text":" and "},{"kind":"code","text":"`getCameraPermissionsAsync`"},{"kind":"text","text":" to interact with the permissions."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```ts\nconst [status, requestPermission] = Camera.useCameraPermissions();\n```"}]}]},"parameters":[{"name":"options","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"object"}],"name":"PermissionHookOptions"}}],"type":{"type":"tuple","elements":[{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","name":"PermissionResponse"}]},{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"RequestPermissionMethod"},{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"GetPermissionMethod"}]}}]}},"defaultValue":"..."},{"name":"useMicrophonePermissions","kind":1024,"flags":{"isStatic":true},"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"signatures":[{"name":"__type","kind":4096,"comment":{"summary":[{"kind":"text","text":"Check or request permissions to access the microphone.\nThis uses both "},{"kind":"code","text":"`requestMicrophonePermissionsAsync`"},{"kind":"text","text":" and "},{"kind":"code","text":"`getMicrophonePermissionsAsync`"},{"kind":"text","text":" to interact with the permissions."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```ts\nconst [status, requestPermission] = Camera.useMicrophonePermissions();\n```"}]}]},"parameters":[{"name":"options","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"object"}],"name":"PermissionHookOptions"}}],"type":{"type":"tuple","elements":[{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","name":"PermissionResponse"}]},{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"RequestPermissionMethod"},{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"GetPermissionMethod"}]}}]}},"defaultValue":"..."},{"name":"_onCameraReady","kind":2048,"signatures":[{"name":"_onCameraReady","kind":4096,"type":{"type":"intrinsic","name":"void"}}]},{"name":"_onMountError","kind":2048,"signatures":[{"name":"_onMountError","kind":4096,"parameters":[{"name":"__namedParameters","kind":32768,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"nativeEvent","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"message","kind":1024,"type":{"type":"intrinsic","name":"string"}}]}}}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"name":"_onObjectDetected","kind":2048,"signatures":[{"name":"_onObjectDetected","kind":4096,"parameters":[{"name":"callback","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","name":"Function","qualifiedName":"Function","package":"typescript"}}],"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"signatures":[{"name":"__type","kind":4096,"parameters":[{"name":"__namedParameters","kind":32768,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"nativeEvent","kind":1024,"type":{"type":"intrinsic","name":"any"}}]}}}],"type":{"type":"intrinsic","name":"void"}}]}}}]},{"name":"_onResponsiveOrientationChanged","kind":2048,"signatures":[{"name":"_onResponsiveOrientationChanged","kind":4096,"parameters":[{"name":"__namedParameters","kind":32768,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"nativeEvent","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"orientation","kind":1024,"type":{"type":"reference","name":"CameraOrientation"}}]}}}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"name":"_setReference","kind":2048,"signatures":[{"name":"_setReference","kind":4096,"parameters":[{"name":"ref","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","typeArguments":[{"type":"reflection","declaration":{"name":"__type","kind":65536}},{"type":"reflection","declaration":{"name":"__type","kind":65536}},{"type":"intrinsic","name":"any"}],"name":"Component","qualifiedName":"React.Component","package":"@types/react"}}],"type":{"type":"intrinsic","name":"void"}}]},{"name":"getAvailablePictureSizesAsync","kind":2048,"signatures":[{"name":"getAvailablePictureSizesAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Get picture sizes that are supported by the device for given "},{"kind":"code","text":"`ratio`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"Returns a Promise that resolves to an array of strings representing picture sizes that can be passed to "},{"kind":"code","text":"`pictureSize`"},{"kind":"text","text":" prop.\nThe list varies across Android devices but is the same for every iOS."}]}]},"parameters":[{"name":"ratio","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A string representing aspect ratio of sizes to be returned."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","typeArguments":[{"type":"array","elementType":{"type":"intrinsic","name":"string"}}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"getSupportedRatiosAsync","kind":2048,"signatures":[{"name":"getSupportedRatiosAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Get aspect ratios that are supported by the device and can be passed via "},{"kind":"code","text":"`ratio`"},{"kind":"text","text":" prop."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"Returns a Promise that resolves to an array of strings representing ratios, eg. "},{"kind":"code","text":"`['4:3', '1:1']`"},{"kind":"text","text":"."}]},{"tag":"@platform","content":[{"kind":"text","text":"android"}]}]},"type":{"type":"reference","typeArguments":[{"type":"array","elementType":{"type":"intrinsic","name":"string"}}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"pausePreview","kind":2048,"signatures":[{"name":"pausePreview","kind":4096,"comment":{"summary":[{"kind":"text","text":"Pauses the camera preview. It is not recommended to use "},{"kind":"code","text":"`takePictureAsync`"},{"kind":"text","text":" when preview is paused."}]},"type":{"type":"intrinsic","name":"void"}}]},{"name":"recordAsync","kind":2048,"signatures":[{"name":"recordAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Starts recording a video that will be saved to cache directory. Videos are rotated to match device's orientation.\nFlipping camera during a recording results in stopping it."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"Returns a Promise that resolves to an object containing video file "},{"kind":"code","text":"`uri`"},{"kind":"text","text":" property and a "},{"kind":"code","text":"`codec`"},{"kind":"text","text":" property on iOS.\nThe Promise is returned if "},{"kind":"code","text":"`stopRecording`"},{"kind":"text","text":" was invoked, one of "},{"kind":"code","text":"`maxDuration`"},{"kind":"text","text":" and "},{"kind":"code","text":"`maxFileSize`"},{"kind":"text","text":" is reached or camera preview is stopped."}]},{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"parameters":[{"name":"options","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A map of "},{"kind":"code","text":"`CameraRecordingOptions`"},{"kind":"text","text":" type."}]},"type":{"type":"reference","name":"CameraRecordingOptions"}}],"type":{"type":"reference","typeArguments":[{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"uri","kind":1024,"type":{"type":"intrinsic","name":"string"}}]}}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"render","kind":2048,"signatures":[{"name":"render","kind":4096,"type":{"type":"reference","name":"Element","qualifiedName":"global.JSX.Element","package":"@types/react"},"overwrites":{"type":"reference","name":"React.Component.render"}}],"overwrites":{"type":"reference","name":"React.Component.render"}},{"name":"resumePreview","kind":2048,"signatures":[{"name":"resumePreview","kind":4096,"comment":{"summary":[{"kind":"text","text":"Resumes the camera preview."}]},"type":{"type":"intrinsic","name":"void"}}]},{"name":"stopRecording","kind":2048,"signatures":[{"name":"stopRecording","kind":4096,"comment":{"summary":[{"kind":"text","text":"Stops recording if any is in progress."}]},"type":{"type":"intrinsic","name":"void"}}]},{"name":"takePictureAsync","kind":2048,"signatures":[{"name":"takePictureAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Takes a picture and saves it to app's cache directory. Photos are rotated to match device's orientation\n(if "},{"kind":"code","text":"`options.skipProcessing`"},{"kind":"text","text":" flag is not enabled) and scaled to match the preview. Anyway on Android it is essential\nto set ratio prop to get a picture with correct dimensions.\n> **Note**: Make sure to wait for the ["},{"kind":"code","text":"`onCameraReady`"},{"kind":"text","text":"](#oncameraready) callback before calling this method."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"Returns a Promise that resolves to "},{"kind":"code","text":"`CameraCapturedPicture`"},{"kind":"text","text":" object, where "},{"kind":"code","text":"`uri`"},{"kind":"text","text":" is a URI to the local image file on iOS,\nAndroid, and a base64 string on web (usable as the source for an "},{"kind":"code","text":"`Image`"},{"kind":"text","text":" element). The "},{"kind":"code","text":"`width`"},{"kind":"text","text":" and "},{"kind":"code","text":"`height`"},{"kind":"text","text":" properties specify\nthe dimensions of the image. "},{"kind":"code","text":"`base64`"},{"kind":"text","text":" is included if the "},{"kind":"code","text":"`base64`"},{"kind":"text","text":" option was truthy, and is a string containing the JPEG data\nof the image in Base64--prepend that with "},{"kind":"code","text":"`'data:image/jpg;base64,'`"},{"kind":"text","text":" to get a data URI, which you can use as the source\nfor an "},{"kind":"code","text":"`Image`"},{"kind":"text","text":" element for example. "},{"kind":"code","text":"`exif`"},{"kind":"text","text":" is included if the "},{"kind":"code","text":"`exif`"},{"kind":"text","text":" option was truthy, and is an object containing EXIF\ndata for the image--the names of its properties are EXIF tags and their values are the values for those tags.\n\n> On native platforms, the local image URI is temporary. Use ["},{"kind":"code","text":"`FileSystem.copyAsync`"},{"kind":"text","text":"](filesystem.md#filesystemcopyasyncoptions)\n> to make a permanent copy of the image."}]}]},"parameters":[{"name":"options","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"An object in form of "},{"kind":"code","text":"`CameraPictureOptions`"},{"kind":"text","text":" type."}]},"type":{"type":"reference","name":"CameraPictureOptions"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"CameraCapturedPicture"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"getAvailableCameraTypesAsync","kind":2048,"flags":{"isStatic":true},"signatures":[{"name":"getAvailableCameraTypesAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Returns a list of camera types "},{"kind":"code","text":"`['front', 'back']`"},{"kind":"text","text":". This is useful for desktop browsers which only have front-facing cameras."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"web"}]}]},"type":{"type":"reference","typeArguments":[{"type":"array","elementType":{"type":"reference","name":"CameraType"}}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"getAvailableVideoCodecsAsync","kind":2048,"flags":{"isStatic":true},"signatures":[{"name":"getAvailableVideoCodecsAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Queries the device for the available video codecs that can be used in video recording."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise that resolves to a list of strings that represents available codecs."}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"reference","typeArguments":[{"type":"array","elementType":{"type":"reference","name":"VideoCodec"}}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"getCameraPermissionsAsync","kind":2048,"flags":{"isStatic":true},"signatures":[{"name":"getCameraPermissionsAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Checks user's permissions for accessing camera."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise that resolves to an object of type [PermissionResponse](#permissionresponse)."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"getMicrophonePermissionsAsync","kind":2048,"flags":{"isStatic":true},"signatures":[{"name":"getMicrophonePermissionsAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Checks user's permissions for accessing microphone."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise that resolves to an object of type [PermissionResponse](#permissionresponse)."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"getPermissionsAsync","kind":2048,"flags":{"isStatic":true},"signatures":[{"name":"getPermissionsAsync","kind":4096,"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"Use "},{"kind":"code","text":"`getCameraPermissionsAsync`"},{"kind":"text","text":" or "},{"kind":"code","text":"`getMicrophonePermissionsAsync`"},{"kind":"text","text":" instead.\nChecks user's permissions for accessing camera."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"isAvailableAsync","kind":2048,"flags":{"isStatic":true},"signatures":[{"name":"isAvailableAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Check whether the current device has a camera. This is useful for web and simulators cases.\nThis isn't influenced by the Permissions API (all platforms), or HTTP usage (in the browser).\nYou will still need to check if the native permission has been accepted."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"web"}]}]},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"requestCameraPermissionsAsync","kind":2048,"flags":{"isStatic":true},"signatures":[{"name":"requestCameraPermissionsAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Asks the user to grant permissions for accessing camera.\nOn iOS this will require apps to specify an "},{"kind":"code","text":"`NSCameraUsageDescription`"},{"kind":"text","text":" entry in the **Info.plist**."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise that resolves to an object of type [PermissionResponse](#permissionresponse)."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"requestMicrophonePermissionsAsync","kind":2048,"flags":{"isStatic":true},"signatures":[{"name":"requestMicrophonePermissionsAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Asks the user to grant permissions for accessing the microphone.\nOn iOS this will require apps to specify an "},{"kind":"code","text":"`NSMicrophoneUsageDescription`"},{"kind":"text","text":" entry in the **Info.plist**."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise that resolves to an object of type [PermissionResponse](#permissionresponse)."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"requestPermissionsAsync","kind":2048,"flags":{"isStatic":true},"signatures":[{"name":"requestPermissionsAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Asks the user to grant permissions for accessing camera.\nOn iOS this will require apps to specify both "},{"kind":"code","text":"`NSCameraUsageDescription`"},{"kind":"text","text":" and "},{"kind":"code","text":"`NSMicrophoneUsageDescription`"},{"kind":"text","text":" entries in the **Info.plist**."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise that resolves to an object of type [PermissionResponse](#permissionresponse)."}]},{"tag":"@deprecated","content":[{"kind":"text","text":"Use "},{"kind":"code","text":"`requestCameraPermissionsAsync`"},{"kind":"text","text":" or "},{"kind":"code","text":"`requestMicrophonePermissionsAsync`"},{"kind":"text","text":" instead."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]}],"extendedTypes":[{"type":"reference","typeArguments":[{"type":"reference","name":"CameraProps"}],"name":"Component","qualifiedName":"React.Component","package":"@types/react"}]},{"name":"PermissionResponse","kind":256,"comment":{"summary":[{"kind":"text","text":"An object obtained by permissions get and request functions."}]},"children":[{"name":"canAskAgain","kind":1024,"comment":{"summary":[{"kind":"text","text":"Indicates if user can be asked again for specific permission.\nIf not, one should be directed to the Settings app\nin order to enable/disable the permission."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"expires","kind":1024,"comment":{"summary":[{"kind":"text","text":"Determines time when the permission expires."}]},"type":{"type":"reference","name":"PermissionExpiration"}},{"name":"granted","kind":1024,"comment":{"summary":[{"kind":"text","text":"A convenience boolean that indicates if the permission is granted."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"status","kind":1024,"comment":{"summary":[{"kind":"text","text":"Determines the status of the permission."}]},"type":{"type":"reference","name":"PermissionStatus"}}]},{"name":"BarCodeBounds","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"origin","kind":1024,"comment":{"summary":[{"kind":"text","text":"The origin point of the bounding box."}]},"type":{"type":"reference","name":"BarCodePoint"}},{"name":"size","kind":1024,"comment":{"summary":[{"kind":"text","text":"The size of the bounding box."}]},"type":{"type":"reference","name":"BarCodeSize"}}]}}},{"name":"BarCodePoint","kind":4194304,"comment":{"summary":[{"kind":"text","text":"These coordinates are represented in the coordinate space of the camera source (e.g. when you\nare using the camera view, these values are adjusted to the dimensions of the view)."}]},"type":{"type":"reference","name":"Point"}},{"name":"BarCodeScanningResult","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"bounds","kind":1024,"comment":{"summary":[{"kind":"text","text":"The [BarCodeBounds](#barcodebounds) object.\n"},{"kind":"code","text":"`bounds`"},{"kind":"text","text":" in some case will be representing an empty rectangle.\nMoreover, "},{"kind":"code","text":"`bounds`"},{"kind":"text","text":" doesn't have to bound the whole barcode.\nFor some types, they will represent the area used by the scanner."}]},"type":{"type":"reference","name":"BarCodeBounds"}},{"name":"cornerPoints","kind":1024,"comment":{"summary":[{"kind":"text","text":"Corner points of the bounding box.\n"},{"kind":"code","text":"`cornerPoints`"},{"kind":"text","text":" is not always available and may be empty. On iOS, for "},{"kind":"code","text":"`code39`"},{"kind":"text","text":" and "},{"kind":"code","text":"`pdf417`"},{"kind":"text","text":"\nyou don't get this value."}]},"type":{"type":"array","elementType":{"type":"reference","name":"BarCodePoint"}}},{"name":"data","kind":1024,"comment":{"summary":[{"kind":"text","text":"The information encoded in the bar code."}]},"type":{"type":"intrinsic","name":"string"}},{"name":"type","kind":1024,"comment":{"summary":[{"kind":"text","text":"The barcode type."}]},"type":{"type":"intrinsic","name":"string"}}]}}},{"name":"BarCodeSettings","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"barCodeTypes","kind":1024,"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"name":"interval","kind":1024,"flags":{"isOptional":true},"type":{"type":"intrinsic","name":"number"}}]}}},{"name":"BarCodeSize","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"height","kind":1024,"comment":{"summary":[{"kind":"text","text":"The height value."}]},"type":{"type":"intrinsic","name":"number"}},{"name":"width","kind":1024,"comment":{"summary":[{"kind":"text","text":"The width value."}]},"type":{"type":"intrinsic","name":"number"}}]}}},{"name":"CameraCapturedPicture","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"base64","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A Base64 representation of the image."}]},"type":{"type":"intrinsic","name":"string"}},{"name":"exif","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"On Android and iOS this object may include various fields based on the device and operating system.\nOn web, it is a partial representation of the ["},{"kind":"code","text":"`MediaTrackSettings`"},{"kind":"text","text":"](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackSettings) dictionary."}]},"type":{"type":"union","types":[{"type":"reference","typeArguments":[{"type":"reference","name":"MediaTrackSettings","qualifiedName":"MediaTrackSettings","package":"typescript"}],"name":"Partial","qualifiedName":"Partial","package":"typescript"},{"type":"intrinsic","name":"any"}]}},{"name":"height","kind":1024,"comment":{"summary":[{"kind":"text","text":"Captured image height."}]},"type":{"type":"intrinsic","name":"number"}},{"name":"uri","kind":1024,"comment":{"summary":[{"kind":"text","text":"On web, the value of "},{"kind":"code","text":"`uri`"},{"kind":"text","text":" is the same as "},{"kind":"code","text":"`base64`"},{"kind":"text","text":" because file system URLs are not supported in the browser."}]},"type":{"type":"intrinsic","name":"string"}},{"name":"width","kind":1024,"comment":{"summary":[{"kind":"text","text":"Captured image width."}]},"type":{"type":"intrinsic","name":"number"}}]}}},{"name":"CameraMountError","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"message","kind":1024,"type":{"type":"intrinsic","name":"string"}}]}}},{"name":"CameraPictureOptions","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"additionalExif","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Additional EXIF data to be included for the image. Only useful when "},{"kind":"code","text":"`exif`"},{"kind":"text","text":" option is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"indexSignature":{"name":"__index","kind":8192,"parameters":[{"name":"name","kind":32768,"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"any"}}}}},{"name":"base64","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether to also include the image data in Base64 format."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"exif","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether to also include the EXIF data for the image."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"imageType","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"web"}]}]},"type":{"type":"reference","name":"ImageType"}},{"name":"isImageMirror","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"web"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"onPictureSaved","kind":1024,"flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"signatures":[{"name":"__type","kind":4096,"comment":{"summary":[{"kind":"text","text":"A callback invoked when picture is saved. If set, the promise of this method will resolve immediately with no data after picture is captured.\nThe data that it should contain will be passed to this callback. If displaying or processing a captured photo right after taking it\nis not your case, this callback lets you skip waiting for it to be saved."}]},"parameters":[{"name":"picture","kind":32768,"type":{"type":"reference","name":"CameraCapturedPicture"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"quality","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Specify the quality of compression, from 0 to 1. 0 means compress for small size, 1 means compress for maximum quality."}]},"type":{"type":"intrinsic","name":"number"}},{"name":"scale","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"web"}]}]},"type":{"type":"intrinsic","name":"number"}},{"name":"skipProcessing","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"If set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":", camera skips orientation adjustment and returns an image straight from the device's camera.\nIf enabled, "},{"kind":"code","text":"`quality`"},{"kind":"text","text":" option is discarded (processing pipeline is skipped as a whole).\nAlthough enabling this option reduces image delivery time significantly, it may cause the image to appear in a wrong orientation\nin the "},{"kind":"code","text":"`Image`"},{"kind":"text","text":" component (at the time of writing, it does not respect EXIF orientation of the images).\n> **Note**: Enabling "},{"kind":"code","text":"`skipProcessing`"},{"kind":"text","text":" would cause orientation uncertainty. "},{"kind":"code","text":"`Image`"},{"kind":"text","text":" component does not respect EXIF\n> stored orientation information, that means obtained image would be displayed wrongly (rotated by 90°, 180° or 270°).\n> Different devices provide different orientations. For example some Sony Xperia or Samsung devices don't provide\n> correctly oriented images by default. To always obtain correctly oriented image disable "},{"kind":"code","text":"`skipProcessing`"},{"kind":"text","text":" option."}]},"type":{"type":"intrinsic","name":"boolean"}}]}}},{"name":"CameraProps","kind":4194304,"type":{"type":"intersection","types":[{"type":"reference","name":"ViewProps","qualifiedName":"ViewProps","package":"react-native"},{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"autoFocus","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"State of camera auto focus. Use one of ["},{"kind":"code","text":"`AutoFocus.`"},{"kind":"text","text":"](#autofocus-1). When "},{"kind":"code","text":"`AutoFocus.on`"},{"kind":"text","text":",\nauto focus will be enabled, when "},{"kind":"code","text":"`AutoFocus.off`"},{"kind":"text","text":", it won't and focus will lock as it was in the moment of change,\nbut it can be adjusted on some devices via "},{"kind":"code","text":"`focusDepth`"},{"kind":"text","text":" prop."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"AutoFocus.on"}]}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"boolean"},{"type":"intrinsic","name":"number"},{"type":"reference","name":"AutoFocus"}]}},{"name":"barCodeScannerSettings","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Settings exposed by ["},{"kind":"code","text":"`BarCodeScanner`"},{"kind":"text","text":"](bar-code-scanner) module. Supported settings: **barCodeTypes**."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```tsx\n\n```"}]}]},"type":{"type":"reference","name":"BarCodeSettings"}},{"name":"faceDetectorSettings","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A settings object passed directly to an underlying module providing face detection features.\nSee ["},{"kind":"code","text":"`DetectionOptions`"},{"kind":"text","text":"](facedetector/#detectionoptions) in FaceDetector documentation for details."}]},"type":{"type":"intrinsic","name":"object"}},{"name":"flashMode","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Camera flash mode. Use one of ["},{"kind":"code","text":"`FlashMode.`"},{"kind":"text","text":"](#flashmode-1). When "},{"kind":"code","text":"`FlashMode.on`"},{"kind":"text","text":", the flash on your device will\nturn on when taking a picture, when "},{"kind":"code","text":"`FlashMode.off`"},{"kind":"text","text":", it won't. Setting to "},{"kind":"code","text":"`FlashMode.auto`"},{"kind":"text","text":" will fire flash if required,\n"},{"kind":"code","text":"`FlashMode.torch`"},{"kind":"text","text":" turns on flash during the preview."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"FlashMode.off"}]}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"reference","name":"FlashMode"}]}},{"name":"focusDepth","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Distance to plane of the sharpest focus. A value between "},{"kind":"code","text":"`0`"},{"kind":"text","text":" and "},{"kind":"code","text":"`1`"},{"kind":"text","text":" where: "},{"kind":"code","text":"`0`"},{"kind":"text","text":" - infinity focus, "},{"kind":"code","text":"`1`"},{"kind":"text","text":" - focus as close as possible.\nFor Android this is available only for some devices and when "},{"kind":"code","text":"`useCamera2Api`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"0"}]}]},"type":{"type":"intrinsic","name":"number"}},{"name":"onBarCodeScanned","kind":1024,"flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"signatures":[{"name":"__type","kind":4096,"comment":{"summary":[{"kind":"text","text":"Callback that is invoked when a bar code has been successfully scanned. The callback is provided with\nan object of the ["},{"kind":"code","text":"`BarCodeScanningResult`"},{"kind":"text","text":"](#barcodescanningresult) shape, where the "},{"kind":"code","text":"`type`"},{"kind":"text","text":"\nrefers to the bar code type that was scanned and the "},{"kind":"code","text":"`data`"},{"kind":"text","text":" is the information encoded in the bar code\n(in this case of QR codes, this is often a URL). See ["},{"kind":"code","text":"`BarCodeScanner.Constants.BarCodeType`"},{"kind":"text","text":"](bar-code-scanner#supported-formats)\nfor supported values."}]},"parameters":[{"name":"scanningResult","kind":32768,"type":{"type":"reference","name":"BarCodeScanningResult"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"onCameraReady","kind":1024,"flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"signatures":[{"name":"__type","kind":4096,"comment":{"summary":[{"kind":"text","text":"Callback invoked when camera preview has been set."}]},"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"onFacesDetected","kind":1024,"flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"signatures":[{"name":"__type","kind":4096,"comment":{"summary":[{"kind":"text","text":"Callback invoked with results of face detection on the preview.\nSee ["},{"kind":"code","text":"`DetectionResult`"},{"kind":"text","text":"](facedetector/#detectionresult) in FaceDetector documentation for more details."}]},"parameters":[{"name":"faces","kind":32768,"type":{"type":"reference","name":"FaceDetectionResult"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"onMountError","kind":1024,"flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"signatures":[{"name":"__type","kind":4096,"comment":{"summary":[{"kind":"text","text":"Callback invoked when camera preview could not been started."}]},"parameters":[{"name":"event","kind":32768,"comment":{"summary":[{"kind":"text","text":"Error object that contains a "},{"kind":"code","text":"`message`"},{"kind":"text","text":"."}]},"type":{"type":"reference","name":"CameraMountError"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"onResponsiveOrientationChanged","kind":1024,"flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"signatures":[{"name":"__type","kind":4096,"comment":{"summary":[{"kind":"text","text":"Callback invoked when responsive orientation changes. Only applicable if "},{"kind":"code","text":"`responsiveOrientationWhenOrientationLocked`"},{"kind":"text","text":" is "},{"kind":"code","text":"`true`"}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"parameters":[{"name":"event","kind":32768,"comment":{"summary":[{"kind":"text","text":"result object that contains updated orientation of camera"}]},"type":{"type":"reference","name":"ResponsiveOrientationChanged"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"pictureSize","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A string representing the size of pictures ["},{"kind":"code","text":"`takePictureAsync`"},{"kind":"text","text":"](#takepictureasyncoptions) will take.\nAvailable sizes can be fetched with ["},{"kind":"code","text":"`getAvailablePictureSizesAsync`"},{"kind":"text","text":"](#getavailablepicturesizesasyncratio)."}]},"type":{"type":"intrinsic","name":"string"}},{"name":"poster","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A URL for an image to be shown while the camera is loading."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"web"}]}]},"type":{"type":"intrinsic","name":"string"}},{"name":"ratio","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A string representing aspect ratio of the preview, eg. "},{"kind":"code","text":"`4:3`"},{"kind":"text","text":", "},{"kind":"code","text":"`16:9`"},{"kind":"text","text":", "},{"kind":"code","text":"`1:1`"},{"kind":"text","text":". To check if a ratio is supported\nby the device use ["},{"kind":"code","text":"`getSupportedRatiosAsync`"},{"kind":"text","text":"](#getsupportedratiosasync)."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"4:3"}]},{"tag":"@platform","content":[{"kind":"text","text":"android"}]}]},"type":{"type":"intrinsic","name":"string"}},{"name":"responsiveOrientationWhenOrientationLocked","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether to allow responsive orientation of the camera when the screen orientation is locked (i.e. when set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"\nlandscape photos will be taken if the device is turned that way, even if the app or device orientation is locked to portrait)"}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"type","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Camera facing. Use one of "},{"kind":"code","text":"`CameraType`"},{"kind":"text","text":". When "},{"kind":"code","text":"`CameraType.front`"},{"kind":"text","text":", use the front-facing camera.\nWhen "},{"kind":"code","text":"`CameraType.back`"},{"kind":"text","text":", use the back-facing camera."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"CameraType.back"}]}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"reference","name":"CameraType"}]}},{"name":"useCamera2Api","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether to use Android's Camera2 API. See "},{"kind":"code","text":"`Note`"},{"kind":"text","text":" at the top of this page."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"videoStabilizationMode","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The video stabilization mode used for a video recording. Use one of ["},{"kind":"code","text":"`VideoStabilization.`"},{"kind":"text","text":"](#videostabilization).\nYou can read more about each stabilization type in [Apple Documentation](https://developer.apple.com/documentation/avfoundation/avcapturevideostabilizationmode)."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"reference","name":"VideoStabilization"}},{"name":"whiteBalance","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Camera white balance. Use one of ["},{"kind":"code","text":"`WhiteBalance.`"},{"kind":"text","text":"](#whitebalance). If a device does not support any of these values previous one is used."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"WhiteBalance.auto"}]}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"reference","name":"WhiteBalance"}]}},{"name":"zoom","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A value between "},{"kind":"code","text":"`0`"},{"kind":"text","text":" and "},{"kind":"code","text":"`1`"},{"kind":"text","text":" being a percentage of device's max zoom. "},{"kind":"code","text":"`0`"},{"kind":"text","text":" - not zoomed, "},{"kind":"code","text":"`1`"},{"kind":"text","text":" - maximum zoom."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"0"}]}]},"type":{"type":"intrinsic","name":"number"}}]}}]}},{"name":"CameraRecordingOptions","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"codec","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"This option specifies what codec to use when recording the video. See ["},{"kind":"code","text":"`VideoCodec`"},{"kind":"text","text":"](#videocodec) for the possible values."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"reference","name":"VideoCodec"}},{"name":"maxDuration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Maximum video duration in seconds."}]},"type":{"type":"intrinsic","name":"number"}},{"name":"maxFileSize","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Maximum video file size in bytes."}]},"type":{"type":"intrinsic","name":"number"}},{"name":"mirror","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"If "},{"kind":"code","text":"`true`"},{"kind":"text","text":", the recorded video will be flipped along the vertical axis. iOS flips videos recorded with the front camera by default,\nbut you can reverse that back by setting this to "},{"kind":"code","text":"`true`"},{"kind":"text","text":". On Android, this is handled in the user's device settings."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"mute","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"If present, video will be recorded with no sound."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"quality","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Specify the quality of recorded video. Use one of ["},{"kind":"code","text":"`VideoQuality.`"},{"kind":"text","text":"](#videoquality).\nPossible values: for 16:9 resolution "},{"kind":"code","text":"`2160p`"},{"kind":"text","text":", "},{"kind":"code","text":"`1080p`"},{"kind":"text","text":", "},{"kind":"code","text":"`720p`"},{"kind":"text","text":", "},{"kind":"code","text":"`480p`"},{"kind":"text","text":" : "},{"kind":"code","text":"`Android only`"},{"kind":"text","text":" and for 4:3 "},{"kind":"code","text":"`4:3`"},{"kind":"text","text":" (the size is 640x480).\nIf the chosen quality is not available for a device, the highest available is chosen."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"string"}]}},{"name":"videoBitrate","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Only works if "},{"kind":"code","text":"`useCamera2Api`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":". This option specifies a desired video bitrate. For example, "},{"kind":"code","text":"`5*1000*1000`"},{"kind":"text","text":" would be 5Mbps."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]}]},"type":{"type":"intrinsic","name":"number"}}]}}},{"name":"FaceDetectionResult","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"faces","kind":1024,"comment":{"summary":[{"kind":"text","text":"Array of objects representing results of face detection.\nSee ["},{"kind":"code","text":"`FaceFeature`"},{"kind":"text","text":"](facedetector/#facefeature) in FaceDetector documentation for more details."}]},"type":{"type":"array","elementType":{"type":"intrinsic","name":"object"}}}]}}},{"name":"PermissionExpiration","kind":4194304,"comment":{"summary":[{"kind":"text","text":"Permission expiration time. Currently, all permissions are granted permanently."}]},"type":{"type":"union","types":[{"type":"literal","value":"never"},{"type":"intrinsic","name":"number"}]}},{"name":"PermissionHookOptions","kind":4194304,"typeParameters":[{"name":"Options","kind":131072,"type":{"type":"intrinsic","name":"object"}}],"type":{"type":"intersection","types":[{"type":"reference","name":"PermissionHookBehavior"},{"type":"reference","name":"Options"}]}},{"name":"Point","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"x","kind":1024,"type":{"type":"intrinsic","name":"number"}},{"name":"y","kind":1024,"type":{"type":"intrinsic","name":"number"}}]}}},{"name":"ResponsiveOrientationChanged","kind":4194304,"type":{"type":"reflection","declaration":{"name":"__type","kind":65536,"children":[{"name":"orientation","kind":1024,"type":{"type":"reference","name":"CameraOrientation"}}]}}},{"name":"Constants","kind":32,"type":{"type":"reference","name":"ConstantsType"}},{"name":"getCameraPermissionsAsync","kind":64,"signatures":[{"name":"getCameraPermissionsAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Checks user's permissions for accessing camera."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise that resolves to an object of type [PermissionResponse](#permissionresponse)."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"getMicrophonePermissionsAsync","kind":64,"signatures":[{"name":"getMicrophonePermissionsAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Checks user's permissions for accessing microphone."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise that resolves to an object of type [PermissionResponse](#permissionresponse)."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"getPermissionsAsync","kind":64,"signatures":[{"name":"getPermissionsAsync","kind":4096,"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"Use "},{"kind":"code","text":"`getCameraPermissionsAsync`"},{"kind":"text","text":" or "},{"kind":"code","text":"`getMicrophonePermissionsAsync`"},{"kind":"text","text":" instead.\nChecks user's permissions for accessing camera."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"requestCameraPermissionsAsync","kind":64,"signatures":[{"name":"requestCameraPermissionsAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Asks the user to grant permissions for accessing camera.\nOn iOS this will require apps to specify an "},{"kind":"code","text":"`NSCameraUsageDescription`"},{"kind":"text","text":" entry in the **Info.plist**."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise that resolves to an object of type [PermissionResponse](#permissionresponse)."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"requestMicrophonePermissionsAsync","kind":64,"signatures":[{"name":"requestMicrophonePermissionsAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Asks the user to grant permissions for accessing the microphone.\nOn iOS this will require apps to specify an "},{"kind":"code","text":"`NSMicrophoneUsageDescription`"},{"kind":"text","text":" entry in the **Info.plist**."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise that resolves to an object of type [PermissionResponse](#permissionresponse)."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]},{"name":"requestPermissionsAsync","kind":64,"signatures":[{"name":"requestPermissionsAsync","kind":4096,"comment":{"summary":[{"kind":"text","text":"Asks the user to grant permissions for accessing camera.\nOn iOS this will require apps to specify both "},{"kind":"code","text":"`NSCameraUsageDescription`"},{"kind":"text","text":" and "},{"kind":"code","text":"`NSMicrophoneUsageDescription`"},{"kind":"text","text":" entries in the **Info.plist**."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A promise that resolves to an object of type [PermissionResponse](#permissionresponse)."}]},{"tag":"@deprecated","content":[{"kind":"text","text":"Use "},{"kind":"code","text":"`requestCameraPermissionsAsync`"},{"kind":"text","text":" or "},{"kind":"code","text":"`requestMicrophonePermissionsAsync`"},{"kind":"text","text":" instead."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"PermissionResponse"}],"name":"Promise","qualifiedName":"Promise","package":"typescript"}}]}]}