RGLDocumentReaderBarcodeField

Objective-C

@interface RGLDocumentReaderBarcodeField : NSObject

/**
 Decoded barcode type
 */
@property(nonatomic, assign, readonly) RGLBarcodeType barcodeType;
/**
 Indicates barcode reading result
 */
@property(nonatomic, assign, readonly) RGLBarcodeResult status;
/**
 Contains the information about the PDF417 barcode
 */
@property(nonatomic, strong, readonly, nullable) RGLPDF417Info *pdf417Info;
/**
 Results of reading data from barcode modules
 */
@property(nonatomic, strong, readonly, nonnull) NSData *data;
/**
 Indicates an index of the document page, whence the result is received
 */
@property(nonatomic, assign, readonly) NSInteger pageIndex;

- (instancetype _Nonnull)init NS_UNAVAILABLE;
- (instancetype _Nonnull)initWithJSON:(NSDictionary *_Nonnull)json;
+ (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nonnull)json;
- (NSDictionary *_Nonnull)jsonDictionary;

@end

Swift

class DocumentReaderBarcodeField : NSObject

Undocumented

  • Decoded barcode type

    Declaration

    Objective-C

    @property (nonatomic, readonly) RGLBarcodeType barcodeType;

    Swift

    var barcodeType: BarcodeType { get }
  • Indicates barcode reading result

    Declaration

    Objective-C

    @property (nonatomic, readonly) RGLBarcodeResult status;

    Swift

    var status: BarcodeResult { get }
  • Contains the information about the PDF417 barcode

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) RGLPDF417Info *pdf417Info;

    Swift

    var pdf417Info: RGLPDF417Info? { get }
  • Results of reading data from barcode modules

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSData *data;

    Swift

    var data: Data { get }
  • Indicates an index of the document page, whence the result is received

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger pageIndex;

    Swift

    var pageIndex: Int { get }
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype _Nonnull)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithJSON:(NSDictionary *_Nonnull)json;

    Swift

    init(json: [AnyHashable : Any])
  • Undocumented

    Declaration

    Objective-C

    + (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nonnull)json;

    Swift

    class func initWithJSON(_ json: [AnyHashable : Any]) -> Self
  • Undocumented

    Declaration

    Objective-C

    - (NSDictionary *_Nonnull)jsonDictionary;

    Swift

    func jsonDictionary() -> [AnyHashable : Any]