Barcode Xpress Mobile for iOS
BXResult Class Reference

Interface that defines a result returned by the iOS Barcode Xpress SDK. More...

#import <BarcodeXpressIOS.h>

List of all members.

Public Member Functions

(void) - getPoints::::
 Convenience routine to extract all four points of the rectangle that surrounds the location where the barcode was identified.

Properties

NSString * m_value
 The decoded value of the recognized barcode, encoded as a string.
NSData * m_valueData
 The decoded value of the recognized barcode, saved as raw bytes.
NSNumber * m_valueLength
 The length, in bytes, of the decoded value raw data.
NSValue * m_P1
 The upper-left coordinate of a rectangle surrounding the barcode where it was located in the image.
NSValue * m_P2
 The upper-right coordinate of a rectangle surrounding the barcode where it was located in the image.
NSValue * m_P3
 The lower-right coordinate of a rectangle surrounding the barcode where it was located in the image.
NSValue * m_P4
 The lower-left coordinate of a rectangle surrounding the barcode where it was located in the image.
NSNumber * m_decodingTime
 The time (in millseconds) spent in the library code while decoding an image.
NSNumber * m_binarizationTime
 The time (in millseconds) spent in the library code while reducing the input image to a black/white 1 bit per pixel image.
NSNumber * m_type
 The type of the recognized barcode.
NSNumber * m_confidence
 The confidence (0..100) that the value is correct.
NSNumber * m_status
 The status value returned by the recognition library.

Detailed Description

Interface that defines a result returned by the iOS Barcode Xpress SDK.

Defines a class that holds the results of image recognition and barcode decoding by the Accusoft Barcode Xpress Software Development Kit.


Member Function Documentation

- (void) : (CGPoint*)  P1
: (CGPoint*)  P2
: (CGPoint*)  P3
: (CGPoint*)  P4 

Convenience routine to extract all four points of the rectangle that surrounds the location where the barcode was identified.

Release the data members before this object is destroyed.

The values of each CGPoint will be set with values extracted from the NSValue* m_P1, m_P2, m_P3, m_P4 members of the BXResult.

Parameters:
P1Upper left coordinate
P2Upper right coordinate
P3Lower right coordinate
P4Lower left coordinate

Convenience method to return the four points that define a rectangle inside the image that surround the location where this decoded barcode was found.

Parameters:
P1Address of a CGPoint that will be set to the upper-left rectangle coordinate.
P2Address of a CGPoint that will be set to the upper-right rectangle coordinate.
P3Address of a CGPoint that will be set to the lower-right rectangle coordinate.
P4Address of a CGPoint that will be set to the lower-left rectangle coordinate.

Property Documentation

- (NSNumber *) m_binarizationTime [read, write, assign]

The time (in millseconds) spent in the library code while reducing the input image to a black/white 1 bit per pixel image.

Will be zero unless the library was compiled in debug mode.

- (NSNumber *) m_confidence [read, write, assign]

The confidence (0..100) that the value is correct.

- (NSNumber *) m_decodingTime [read, write, assign]

The time (in millseconds) spent in the library code while decoding an image.

Will be zero unless the library was compiled in debug mode.

- (NSNumber *) m_status [read, write, assign]

The status value returned by the recognition library.

Anything other than StatusOK or StatusNoBarcodesFound denotes an error condition.

- (NSString *) m_value [read, write, assign]

The decoded value of the recognized barcode, encoded as a string.

The decoded value of the recognized barcode.

- (NSData *) m_valueData [read, write, assign]

The decoded value of the recognized barcode, saved as raw bytes.

- (NSNumber *) m_valueLength [read, write, assign]

The length, in bytes, of the decoded value raw data.

The length, in bytes, of the decoded value.