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

A class representing a Maxicode message. More...

#include <PglMaxicodeMsg.h>

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

Instance Methods

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

Properties

NSString * data
 The encoded data of the Maxicode message.
 
- 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.

This class inherits from AMaxicodeMsg and provides functionality for initializing and accessing the data of a Maxicode message.

Method Documentation

◆ initWithMode:primaryMsg:remainingMsg:

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

Initializes a new instance of the PglMaxicodeMsg 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 PglMaxicodeMsg.

Reimplemented from AMaxicodeMsg.

Property Documentation

◆ data

- (NSString*) data
readnonatomiccopy

The encoded data of the Maxicode message.


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