SCQRCodeReaderView Class Reference
| Inherits from | UIView |
| Declared in | SCQRCodeReaderView.h |
Overview
A view to scan the QR code. It shows the camera capture data and a frame the QR code should fit in.
Tasks
-
captureRectSpecifies a rect for direct scan result from.
property
If captureRect was not specified [SCQRCodeReaderView bounds] will be used. This means that the marker will be searched for within the entire area of the captured frame. -
delegateSpecifies an object that will get scan status changes from SCQRCodeReaderView
property
See SCQRCodeReaderViewDelegate protocol reference for more details. -
+ viewWithDelegate:captureRect:Rreates a new instance of SCQRCodeReaderView
-
– startCaptureStarts capture process
-
– stopCaptureStope capture process
-
– isCaptureInProgressCall this method to determine capture is already running or not.
Properties
captureRect
Specifies a rect for direct scan result from.
If captureRect was not specified [SCQRCodeReaderView bounds] will be used. This means that the marker will be searched for within the entire area of the captured frame.
@property (nonatomic) CGRect captureRectDiscussion
Specifies a rect for direct scan result from.
If captureRect was not specified [SCQRCodeReaderView bounds] will be used. This means that the marker will be searched for within the entire area of the captured frame.
Declared In
SCQRCodeReaderView.hdelegate
Specifies an object that will get scan status changes from SCQRCodeReaderView
See SCQRCodeReaderViewDelegate protocol reference for more details.
@property (nonatomic, weak) IBOutlet id<SCQRCodeReaderViewDelegate> delegateDiscussion
Specifies an object that will get scan status changes from SCQRCodeReaderView
See SCQRCodeReaderViewDelegate protocol reference for more details.
Declared In
SCQRCodeReaderView.hClass Methods
viewWithDelegate:captureRect:
Rreates a new instance of SCQRCodeReaderView
+ (instancetype)viewWithDelegate:(id<SCQRCodeReaderViewDelegate>)delegate captureRect:(CGRect)captureRectParameters
- delegate
the object which will handle events wfom SCQRCodeReaderView
- captureRect
specifies rect for direct scan result from.
Discussion
Rreates a new instance of SCQRCodeReaderView
Declared In
SCQRCodeReaderView.hInstance Methods
isCaptureInProgress
Call this method to determine capture is already running or not.
- (BOOL)isCaptureInProgressDiscussion
Call this method to determine capture is already running or not.
Declared In
SCQRCodeReaderView.h