Represents a read result.
More...
#import <CMBReadResult.h>
|
NSString * | resultID |
| Returns the identfier for this result.
|
|
BOOL | goodRead |
| Success of the read. More...
|
|
NSString * | readString |
| Returns the read string, if available. More...
|
|
UIImage * | image |
| Returns the image for this result.
|
|
NSData * | imageGraphics |
| Returns the SVG XML as NSData for this result. More...
|
|
NSData * | XML |
| Returns the subresult XML string for this result. More...
|
|
CMBSymbology | symbology |
| Returns the code symbology of the result. More...
|
|
NSString * | parsedText |
| Get parsed result in form of 'formatted text', mainly suited for demonstration purpose if the result is parsable with the enabled CMBResultParser It would return text with rows consisted of key/values pairs, like: (ABC) 123456, where ABC is a key, and 123456 is a value. More...
|
|
NSString * | parsedJSON |
| Get parsed result as JSON string when a CMBResultParser is enabled, containing general info about parsed data, and fields array. More...
|
|
BOOL | isGS1 |
| GS1 value of the result. More...
|
|
NSDictionary< NSString *, NSString * > * | resultExtra |
| Dictionary containing extra information about the read result.
|
|
Represents a read result.
◆ goodRead
Success of the read.
- Returns
- true, if the read was successful
◆ imageGraphics
- (NSData*) imageGraphics |
|
readwriteatomicassign |
Returns the SVG XML as NSData for this result.
- Returns
- the SVG XML as NSData or null
◆ isGS1
GS1 value of the result.
- Returns
- true, if the barcode is GS1 standard
◆ parsedJSON
Get parsed result as JSON string when a CMBResultParser is enabled, containing general info about parsed data, and fields array.
- Returns
- result JSON as NSString or null
◆ parsedText
Get parsed result in form of 'formatted text', mainly suited for demonstration purpose if the result is parsable with the enabled CMBResultParser It would return text with rows consisted of key/values pairs, like: (ABC) 123456, where ABC is a key, and 123456 is a value.
- Returns
- parsed result as NSString or null
◆ readString
Returns the read string, if available.
- Returns
- read string or nil
◆ symbology
Returns the code symbology of the result.
- Returns
- CMBSymbology of the result
◆ XML
Returns the subresult XML string for this result.
- Returns
- the subresult XML string or null
The documentation for this class was generated from the following file: