UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
AAztecBarcode.h
1//
2// AAztecBarcode.h
3// sdk_json_Objective-C
4//
5// Created by Realbuber on 2024/5/7.
6//
7
8#ifndef AAztecBarcode_h
9#define AAztecBarcode_h
10
11#import <Foundation/Foundation.h>
12
13#import <UniPRT/ABarcode2D.h>
14#import <UniPRT/ISquareCell.h>
15#import <UniPRT/AztecCodeTypeEnum.h>
16
34
45@property (nonatomic, strong) id<ICellSquare> cellSize;
46
57@property (nonatomic, assign) AztecCodeTypeEnum type;
58
87@property (nonatomic, assign) int layers;
88
105@property (nonatomic, assign) int fixedErrCorrection;
106
117- (instancetype)init;
118
141- (instancetype)initWithStart:(id<IPoint>)start data:(NSString *)data NS_DESIGNATED_INITIALIZER;
142
160
177- (BOOL)hasLayers;
178
196
197@end
198
199#endif /* AAztecBarcode_h */
Aztec barcode type/formats.
Base class for Aztec 2D barcode.
Definition AAztecBarcode.h:33
instancetype init()
Initializes a new instance of the AAztecBarcode class.
int getErrCorrectionPercent()
Gets the error correction percentage.
AztecCodeTypeEnum type
The type of the Aztec barcode.
Definition AAztecBarcode.h:57
int layers
The number of layers to use for AztecCodeTypeEnum.Compact or AztecCodeTypeEnum.Full barcode types.
Definition AAztecBarcode.h:87
int getLayersWithinRange()
Gets the number of layers within the valid range.
id< ICellSquare > cellSize
The cell size for the barcode.
Definition AAztecBarcode.h:45
BOOL hasLayers()
Checks if the barcode has layers.
int fixedErrCorrection
This percent error correction value only applies to AztecCodeTypeEnum.FixedErrCorrection.
Definition AAztecBarcode.h:105
Base class for ABarcode2D barcode.
Definition ABarcode2D.h:31
A protocol defining the interface for SquareCell classes.
Definition ISquareCell.h:30