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