UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
MaxicodeMsg Class Reference

A class representing a Maxicode message for TSPL. More...

#include <MaxicodeMsg.h>

Inheritance diagram for MaxicodeMsg:
AMaxicodeMsg <IMaxicodeMsg> <IMaxicodeData>

Instance Methods

(instancetype) - initWithMode:primaryMsg:remainingMsg:
 Initializes a new instance of the MaxicodeMsg class with the specified mode, primary message, and remaining message.
 
- Instance Methods inherited from AMaxicodeMsg
(instancetype) - init
 

Additional Inherited Members

- Properties inherited from AMaxicodeMsg
MaxicodeModeEnum mode
 
NSString * primaryMsg
 
NSString * remainingMsg
 
NSString * data
 
- Properties inherited from <IMaxicodeMsg>
NSString * primaryMsg
 Primary Message, excluding the mode value, typically has a maximum of 9 characters.
 
NSString * remainingMsg
 Secondary Message, typically has a maximum of 68 characters for modes with EEC or 84 characters for modes with SEC.
 
- Properties inherited from <IMaxicodeData>
MaxicodeModeEnum mode
 The Mode used to state the format of the barcode data. See MaxicodeModeEnum for possible supported modes.
 
NSString * data
 The barcode data that includes the primary message + secondary messages to be encoded in the barcode.
 

Detailed Description

A class representing a Maxicode message for TSPL.

This class inherits from AMaxicodeMsg and provides functionality for initializing and managing Maxicode messages in TSPL.

Method Documentation

◆ initWithMode:primaryMsg:remainingMsg:

- (instancetype) initWithMode: (MaxicodeModeEnum) mode
primaryMsg: (NSString *) primaryMsg
remainingMsg: (NSString *) remainingMsg 

Initializes a new instance of the MaxicodeMsg class with the specified mode, primary message, and remaining message.

Parameters
modeThe mode of the Maxicode.
primaryMsgThe primary message to be encoded.
remainingMsgThe remaining message to be encoded.
Returns
A new instance of MaxicodeMsg.

Reimplemented from AMaxicodeMsg.


The documentation for this class was generated from the following file: