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: programming/ios/auxiliary-api/dcecameraview.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ class CameraView: UIView {}
38
38
| Attributes | Type | Description |
39
39
| ---------- | ---- | ----------- |
40
40
|[`torchButtonVisible`](#torchbuttonvisible)|*BOOL*| Set/get the visibility of the torch button. |
41
+
|[`cameraToggleButtonVisible`](#cameratogglebuttonvisible)|*BOOL*| Set/get the visibility of the camera toggle button. |
41
42
|[`scanRegionMaskVisible`](#scanregionmaskvisible)|*BOOL*| Set/get the visibility of the scan region mask. |
42
43
|[`scanLaserVisible`](#scanlaservisible)|*BOOL*| Set/get the visibility of the scan laser. |
43
44
|[`tipConfig`](#tipconfig)|*DSTipConfig*| Set/get the tip configurations. |
@@ -52,6 +53,7 @@ class CameraView: UIView {}
52
53
|[`createDrawingLayer`](#createdrawinglayer)| Create a new DrawingLayer. |
53
54
|[`getVisibleRegionOfVideo`](#getvisibleregionofvideo)| Get the visible region of the video streaming. |
54
55
|[`setTorchButtonWithFrame`](#settorchbuttonwithframe)| Add a torch button on your view. |
56
+
|[`setCameraToggleButtonWithFrame`](#setcameratogglebuttonwithframe)| Add a camera toggle button on your view for switching between front and back camera. |
55
57
|[`deleteUserDefinedDrawingLayer`](#deleteuserdefineddrawinglayer)| Delete the specified drawing layer. |
56
58
|[`clearUserDefinedDrawingLayers`](#clearuserdefineddrawinglayers)| Clear all the user-defined drawing layers. |
57
59
|[`getAllDrawingLayers`](#getalldrawinglayers)| Get all the drawing layers on the view. |
@@ -76,6 +78,23 @@ Set/get the visibility of the torch button.
76
78
var torchButtonVisible: BOOL { getset }
77
79
```
78
80
81
+
### cameraToggleButtonVisible
82
+
83
+
Set/get the visibility of the camera toggle button.
0 commit comments