MBCPointDetectorSubview
Objective-C
@protocol MBCPointDetectorSubview <NSObject>
Swift
protocol MBCPointDetectorSubview : NSObjectProtocol
Protocol for processing MBCDisplayablePointsDetection. Subviews implementing this protocol process and draw points on the screen (e.g. flashing dots)
-
This method should be called when MBCDisplayablePointsDetection is obtained and points need to be drawn/redrawn.
Declaration
Objective-C
- (void)detectionFinishedWithDisplayablePoints: (MBCDisplayablePointsDetection *)displayablePointsDetection;
Swift
func detectionFinished(withDisplayablePoints displayablePointsDetection: MBCDisplayablePointsDetection!)
-
This method should be called when MBCDisplayablePointsDetection is obtained and points need to be drawn/redrawn with camera preview zoom enabled by setting previewZoomScale property on cameraSettings.
Declaration
Objective-C
- (void)detectionFinishedWithDisplayablePoints: (MBCDisplayablePointsDetection *)displayablePointsDetection originalRectangle:(CGRect)originalRect relativeRectangle:(CGRect)relativeRectangle;
Swift
func detectionFinished(withDisplayablePoints displayablePointsDetection: MBCDisplayablePointsDetection!, originalRectangle originalRect: CGRect, relativeRectangle: CGRect)