ALScanResult Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | ALJSONStringRepresentable |
| Declared in | ALScanResult.h |
blobKey
Blob key uniquely identifying this scan
@property (nonatomic, readonly) NSString *blobKeyDeclared In
ALScanResult.h
pluginID
ID of the plugin that was initialized for this scan
@property (nonatomic, readonly) NSString *pluginIDDeclared In
ALScanResult.h
fullSizeImage
A full sized image taken from the device camera that the successful scan was based on
@property (nonatomic, readonly) UIImage *fullSizeImageDeclared In
ALScanResult.h
croppedImage
A cropped version of the image taken from the device consisting of the region shown on the cutout
@property (nonatomic, readonly) UIImage *croppedImageDeclared In
ALScanResult.h
faceImage
Image of detected facial photo, if any
@property (nonatomic, readonly, nullable) UIImage *faceImageDeclared In
ALScanResult.h
pluginResult
An ALPluginResult object which contains complete plugin-specific details regarding
the scan result
@property (nonatomic, readonly) ALPluginResult *pluginResultDeclared In
ALScanResult.h
resultDictionary
The scan result in NSDictionary form
@property (nonatomic, readonly) NSDictionary *resultDictionaryDeclared In
ALScanResult.h
– initWithJSONDictionary:image:error:
Initializes an ALScanResult with a suitably-structured dictionary, and the
image associated with the scan result
- (instancetype _Nullable)initWithJSONDictionary:(NSDictionary *)resultJSON image:(UIImage *)image error:(NSError *_Nullable *_Nullable)errorParameters
resultJSON |
the |
|---|---|
image |
a |
error |
error information that is filled when initialization fails |
Return Value
the ALScanResult object, if no error is encountered, otherwise null
Declared In
ALScanResult.h