MBPointDetectorSubview
Objective-C
@protocol MBPointDetectorSubview <NSObject>
Swift
protocol MBPointDetectorSubview : NSObjectProtocol
Protocol for processing MBDisplayablePointsDetection. Subviews implementing this protocol process and draw points on the screen (e.g. flashing dots)
-
This method should be called when MBDisplayablePointsDetection is obtained and points need to be drawn/redrawn.
Declaration
Objective-C
- (void)detectionFinishedWithDisplayablePoints: (MBDisplayablePointsDetection *)displayablePointsDetection;
Swift
func detectionFinished(withDisplayablePoints displayablePointsDetection: MBDisplayablePointsDetection!)
-
This method should be called when MBDisplayablePointsDetection 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: (MBDisplayablePointsDetection *)displayablePointsDetection originalRectangle:(CGRect)originalRect relativeRectangle:(CGRect)relativeRectangle;
Swift
func detectionFinished(withDisplayablePoints displayablePointsDetection: MBDisplayablePointsDetection!, originalRectangle originalRect: CGRect, relativeRectangle: CGRect)