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

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

#include <MaxicodeMsgStructured.h>

Inheritance diagram for MaxicodeMsgStructured:
AMaxicodeMsgStructured <IMaxicodeMsgStructured> <IMaxicodeData>

Instance Methods

(instancetype) - initWithMode:postalCode:countryCode:serviceClass:remainingMsg:
 Initializes a new instance of the MaxicodeMsgStructured class with the specified mode, postal code, country code, service class, and remaining message.
 
- Instance Methods inherited from AMaxicodeMsgStructured
(instancetype) - init
 
(NSString *) - data
 The barcode data that includes the primary message + secondary messages to be encoded in the barcode.
 

Properties

NSString * data
 The encoded data of the Maxicode message.
 
- Properties inherited from AMaxicodeMsgStructured
NSString * postalCode
 
NSString * countryCode
 
NSString * serviceClass
 
NSString * remainingMsg
 
MaxicodeModeEnum mode
 
- Properties inherited from <IMaxicodeMsgStructured>
NSString * postalCode
 
NSString * countryCode
 
NSString * serviceClass
 
NSString * remainingMsg
 
- Properties inherited from <IMaxicodeData>
MaxicodeModeEnum mode
 The Mode used to state the format of the barcode data. See MaxicodeModeEnum for possible supported modes.
 

Detailed Description

A class representing a structured Maxicode message for TSPL.

This class inherits from AMaxicodeMsgStructured and provides functionality for initializing and accessing the data of a structured Maxicode message in TSPL.

Method Documentation

◆ initWithMode:postalCode:countryCode:serviceClass:remainingMsg:

- (instancetype) initWithMode: (MaxicodeModeEnum) mode
postalCode: (NSString *) postalCode
countryCode: (NSString *) countryCode
serviceClass: (NSString *) serviceClass
remainingMsg: (NSString *) remainingMsg 

Initializes a new instance of the MaxicodeMsgStructured class with the specified mode, postal code, country code, service class, and remaining message.

Parameters
modeThe mode of the Maxicode.
postalCodeThe postal code to be encoded.
countryCodeThe country code to be encoded.
serviceClassThe service class to be encoded.
remainingMsgThe remaining message to be encoded.
Returns
A new instance of MaxicodeMsgStructured.

Reimplemented from AMaxicodeMsgStructured.

Property Documentation

◆ data

- (NSString*) data
readnonatomicassign

The encoded data of the Maxicode message.


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