UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
RfidReport.h
1//
2// RfidReport.h
3// TSCPrinters SDK
4//
5// Created by Realbuber on 2024/4/13.
6//
7
8#ifndef RfidReport_h
9#define RfidReport_h
10
11
12#endif /* RfidReport_h */
13
14// RfidReport.h
15
16#import <Foundation/Foundation.h>
17
31typedef NS_ENUM(NSInteger, RfidDataType) {
42 EPC,
43
54 USR,
55
66 TID,
67
78 ACS,
79
90 Unknown
91};
92
109@interface RfidReport : NSObject
110
121@property (nonatomic, strong, readonly) NSDictionary<NSString *, NSString *> *rawReport;
122
139- (BOOL)failed;
140
157- (NSString *)data;
158
175- (RfidDataType)dataType;
176
193- (BOOL)isWriteOperation;
194
213- (void)setRawReport:(NSDictionary<NSString *, NSString *> *)rawReport;
214
217@end
Rfid report based on RFID tag messages received from printer.
Definition RfidReport.h:110
RfidDataType dataType()
Type of RFID data contained in Data.
BOOL isWriteOperation()
True if report result of write operation. False if read operation.
BOOL failed()
Checks if the RFID operation failed.
NSDictionary< NSString *, NSString * > * rawReport
The raw report dictionary containing RFID details.
Definition RfidReport.h:121
NSString * data()
String representation of RFID data.