You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/CameraCaptureUI/CameraCaptureUI.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,12 @@ Provides settings for capturing photos with CameraCaptureUI.
190
190
The settings include aspect ratio, image size, format, resolution,
191
191
and whether or not cropping is allowed by the user interface (UI).
192
192
193
+
**Important Note**:
194
+
- By default, `AllowCropping` is true.
195
+
- Don't specify both size and aspect ratio in the `PhotoSettings`, doing so will cause an invalid argument exception.
196
+
-`PhotoSettings` can't have a ratio or size specified with cropping disabled. Attempting to do so will result in an invalid argument exception.
197
+
198
+
193
199
## CameraCaptureUIPhotoCaptureSettings Properties
194
200
195
201
| Name | Description | Value |
@@ -207,6 +213,12 @@ and whether or not cropping is allowed by the user interface (UI).
207
213
Provides settings for capturing videos.
208
214
The settings include format, maximum resolution, maximum duration, and whether or not to allow trimming.
209
215
216
+
**Important Note**:
217
+
- By default, `AllowTrimming` is true.
218
+
-`MaxDurationInSeconds` must be a valid value (i.e., the duration should be in the range of 0 to `UINT32_MAX`). Specifying an invalid value will result in an invalid argument exception.
219
+
-`MaxDurationInSeconds` cannot be set if `AllowTrimming` is false. Attempting to do so will result in an invalid argument exception.
0 commit comments