ALAbstractScanViewPlugin Class Reference

Inherits from UIView
Conforms to ALInfoDelegate
Declared in ALAbstractScanViewPlugin.h

  scanViewPluginDelegates

@property (nonatomic, strong, readonly) NSHashTable<ALScanViewPluginDelegate> *scanViewPluginDelegates

  sampleBufferImageProvider

The SampleBufferImageProvider implements ALImageProvider and AnylineVideoDataSampleBufferDelegate and prepares the frame for Anyline processing

@property (nullable, nonatomic, strong) ALSampleBufferImageProvider *sampleBufferImageProvider

Declared In

ALAbstractScanViewPlugin.h

  scanView

@property (nonatomic, weak) ALScanView *scanView

  cutoutRect

The position of the Cutout in the View

@property (assign, nonatomic) CGRect cutoutRect

Declared In

ALAbstractScanViewPlugin.h

  scanViewPluginConfig

The UI Configuration for the scanning UI

@property (nullable, nonatomic, copy) ALScanViewPluginConfig *scanViewPluginConfig

Declared In

ALAbstractScanViewPlugin.h

+ scanViewPluginForConfigDict:licenseKey:delegate:error:

+ (_Nullable instancetype)scanViewPluginForConfigDict:(NSDictionary *_Nonnull)configDict licenseKey:(NSString *_Nonnull)licenseKey delegate:(id _Nonnull)delegate error:(NSError *_Nullable *_Nullable)error

– startAndReturnError:

Starts the Anyline processing.

- (BOOL)startAndReturnError:(NSError *_Nullable *_Nullable)error

Parameters

error

An error if something goes wrong during the startup

Return Value

Boolean indicating the success of the start

Declared In

ALAbstractScanViewPlugin.h

– stopAndReturnError:

Stops the Anyline processing

- (BOOL)stopAndReturnError:(NSError *_Nullable *_Nullable)error

Parameters

error

An error if something goes wrong during the startup

Return Value

Boolean indicating the success of the start

Declared In

ALAbstractScanViewPlugin.h

  outline

@property (nullable, nonatomic, strong) ALSquare *outline

  scanImage

@property (nullable, nonatomic, strong) ALImage *scanImage

  scale

@property (nonatomic, assign) CGFloat scale

– customInit

- (void)customInit

– stopListeningForMotion

Stop listening for device motion.

- (void)stopListeningForMotion

Declared In

ALAbstractScanViewPlugin.h

– triggerScannedFeedback

- (void)triggerScannedFeedback

– convertContours:

- (NSArray *_Nonnull)convertContours:(ALContours *_Nonnull)contoursValue

– convertCGRect:

- (ALSquare *_Nonnull)convertCGRect:(NSValue *_Nonnull)concreteValue

– updateCutoutRect:

- (void)updateCutoutRect:(CGRect)rect

– addScanViewPluginDelegate:

- (void)addScanViewPluginDelegate:(id<ALScanViewPluginDelegate> _Nonnull)scanViewPluginDelegate

– removeScanViewPluginDelegate:

- (void)removeScanViewPluginDelegate:(id<ALScanViewPluginDelegate> _Nonnull)scanViewPluginDelegate