DMSOverlayType
enum DMSOverlayType : NSInteger {}
Constants to apply some visual overlay over the camera preview.
-
No visual overlay on top of the camera preview view.
Declaration
Objective-C
DMSOverlayTypeNone
Swift
case none = 0
-
Displays a crosshairs graphic over the camera preview view.
Declaration
Objective-C
DMSOverlayTypeCrosshairs
Swift
case crosshairs = 1
-
Displays a mask over the camera preview highlighting only the rectOfInterest and darkening its surroundings.
Declaration
Objective-C
DMSOverlayTypeDetectRegion
Swift
case detectRegion = 2