ALScanViewPlugin Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | ALScanViewPluginBase |
| Declared in | ALScanViewPlugin.h |
scanPlugin
The scan plugin object associated with the scan view plugin
@property (nonatomic, readonly) ALScanPlugin *scanPluginDeclared In
ALScanViewPlugin.h
delegate
The object being notified of any events encountered during scanning
@property (nonatomic, weak) id<ALScanViewPluginDelegate> delegateDeclared In
ALScanViewPlugin.h
regionOfInterest
The region within the image frame the scanner would specifically try to search for detectable objects
@property (nonatomic, assign) CGRect regionOfInterestDeclared In
ALScanViewPlugin.h
isStarted
Indicates whether the plugin composite has started or not
@property (nonatomic, readonly) BOOL isStartedDeclared In
ALScanViewPlugin.h
pluginID
Unique plugin ID for the scan view plugin
@property (nonatomic, readonly) NSString *pluginIDDeclared In
ALScanViewPlugin.h
– startWithError:
Starts the plugin
- (BOOL)startWithError:(NSError *_Nullable *_Nullable)errorParameters
error |
if an error is encountered, this will be filled with the necessary information |
|---|
Return Value
a boolean indicating whether or not the plugin was started successfully
Declared In
ALScanViewPlugin.h
children
Children of the scan view plugin, if any
@property (nonatomic, readonly) NSArray<NSObject<ALScanViewPluginBase> *> *childrenDeclared In
ALScanViewPlugin.h
scanViewPluginConfig
The configuration object for the scan view plugin
@property (nonatomic, readonly) ALScanViewPluginConfig *scanViewPluginConfigDeclared In
ALScanViewPlugin.h
– initWithConfig:error:
Initializes an ALScanViewPlugin object with a configuration object
- (instancetype _Nullable)initWithConfig:(ALScanViewPluginConfig *_Nonnull)config error:(NSError *_Nullable *_Nullable)errorParameters
config |
an |
|---|---|
error |
if initialization fails, this object would be set with the reason for the failure |
Return Value
the ALScanViewPlugin object, or null
Declared In
ALScanViewPlugin.h
– initWithJSONDictionary:error:
Initializes an ALScanViewPlugin object with a configuration object
- (instancetype _Nullable)initWithJSONDictionary:(NSDictionary *_Nonnull)JSONDictionary error:(NSError *_Nullable *_Nullable)errorParameters
JSONDictionary |
a dictionary that encodes an |
|---|---|
error |
if initialization fails, this object would be set with the reason for the failure |
Return Value
the ALScanViewPlugin object
Declared In
ALScanViewPlugin.h