8000 chore(update-plugins): Thu Jan 18 08:05:29 UTC 2024 · NativeScript/docs-v8@2aaafb5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2aaafb5

Browse files
chore(update-plugins): Thu Jan 18 08:05:29 UTC 2024
1 parent 1ed0f16 commit 2aaafb5

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

plugins/camera.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,15 @@ This could be used to create thumbnails for quick display within your applicatio
213213

214214
### CameraOptions interface
215215

216-
| Property | Default | Description |
217-
| :---------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | --- | ---------------------------------------------------------------------------------------------------------------- |
218-
| `width` | `0` | _Optional_: The desired width of the picture (in device independent pixels). The actual image width will be greater than requested if the display density of the device is higher (than 1) (full HD+ resolutions). |
219-
| `height` | `0` | _Optional_: The desired height of the picture (in device independent pixels). The actual image height will be greater than requested if the display density of the device is higher (than 1) (full HD+ resolutions). |
220-
| `keepAspectRatio` | `true` | _Optional_: Defines if camera picture aspect ratio should be kept during picture resizing. The camera will return an image with the correct aspect ratio but generally only one (width or height) will be the same as requested; the other value will be calculated in order to preserve the aspect of the original image. |
221-
| `saveToGallery` | `true` | _Optional_: A boolean parameter that indicates if the original taken photo will be saved in `Photos` for Android and in `Camera Roll` in iOS. |
222-
| `allowsEditing` | `false` | _Optional_: (`iOS-only`)Defines if camera "Retake" or "Use Photo". Screen forces the user to crop camera picture to a square and optionally lets them zoom in. |
223-
| `cameraFacing` | `'rear'` | _Optional_: The initial camera facing. Use `'front'` for selfies. | `modalPresentationStyle` | `0` | _Optional_: (`iOS-only`)Set a custom UIModalPresentationStyle (Defaults to UIModalPresentationStyle.FullScreen). |
216+
| Property | Default | Description |
217+
| :----------------------- | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
218+
| `width` | `0` | _Optional_: The desired width of the picture (in device independent pixels). The actual image width will be greater than requested if the display density of the device is higher (than 1) (full HD+ resolutions). |
219+
| `height` | `0` | _Optional_: The desired height of the picture (in device independent pixels). The actual image height will be greater than requested if the display density of the device is higher (than 1) (full HD+ resolutions). |
220+
| `keepAspectRatio` | `true` | _Optional_: Defines if camera picture aspect ratio should be kept during picture resizing. The camera will return an image with the correct aspect ratio but generally only one (width or height) will be the same as requested; the other value will be calculated in order to preserve the aspect of the original image. |
221+
| `saveToGallery` | `true` | _Optional_: A boolean parameter that indicates if the original taken photo will be saved in `Photos` for Android and in `Camera Roll` in iOS. |
222+
| `allowsEditing` | `false` | _Optional_: (`iOS-only`) Defines if camera "Retake" or "Use Photo". Screen forces the user to crop camera picture to a square and optionally lets them zoom in. |
223+
| `cameraFacing` | `'rear'` | _Optional_: The initial camera facing. Use `'front'` for selfies. |
224+
| `modalPresentationStyle` | `0` | _Optional_: (`iOS-only`) Set a custom UIModalPresentationStyle (Defaults to UIModalPresentationStyle.FullScreen). |
224225

225226
:::tip Note
226227

0 commit comments

Comments
 (0)
0