VLDOCRViewController Class Reference
Inherits from | UIViewController |
---|---|
Declared in | VLDOCRViewController.h |
Overview
The VLDOCRViewController is the VLDOCRController fully implemented in a view controller with the peripheral overlay and display of partial results.
delegate
The object that acts as the delegate of the OCR view controller.
@property (nonatomic, weak, nullable) id<VLDOCRViewControllerDelegate> delegate
Discussion
The object that acts as the delegate of the OCR view controller.
Must conform to VLDOCRViewControllerDelegate protocol.
Declared In
VLDOCRViewController.h
– initWithOCRPeripheralID:
Initializes VLDOCRViewController with a specific peripheral.
- (instancetype _Nullable)initWithOCRPeripheralID:(NSUInteger)peripheralID
Parameters
peripheralID |
the ID of the peripheral to perform OCR on. |
---|
Discussion
Initializes VLDOCRViewController with a specific peripheral.
Declared In
VLDOCRViewController.h
– initWithOCRPeripheralID:glucoseUnit:
Initializes VLDOCRViewController with a specific peripheral and glucose unit.
- (instancetype _Nullable)initWithOCRPeripheralID:(NSUInteger)peripheralID glucoseUnit:(VLDGlucoseUnit)unit
Parameters
peripheralID |
the ID of the peripheral to perform OCR on. |
---|---|
unit |
the VLDGlucoseUnit to use as the unit. |
Discussion
Initializes VLDOCRViewController with a specific peripheral and glucose unit.
Note: If the peripheral is not of type Glucose Meter an exception will be thrown.
Declared In
VLDOCRViewController.h