TLV

@interface TLV : NSObject

Object derived from tag-length-value string of data object in scanned QR string.

  • The tag information

    Declaration

    Objective-C

    @property (readonly, atomic, nonnull) TagInfo *tagInfo;

    Swift

    var tagInfo: TagInfo { get }
  • The length of the value between 0 to 99

    Declaration

    Objective-C

    @property (readonly, atomic) NSInteger length;

    Swift

    var length: Int { get }
  • The value of the tag

    Declaration

    Objective-C

    @property (readonly, atomic, nonnull) NSString *value;

    Swift

    var value: String { get }
  • Initializer

    Declaration

    Objective-C

    - (id _Nonnull)initWithTagInfo:(TagInfo *_Nonnull)tag
                            length:(NSInteger)length
                             value:(NSString *_Nonnull)value;

    Swift

    init(tagInfo tag: TagInfo, length: Int, value: String)

    Parameters

    tag

    The tag information, non null

    length

    The length of the value

    value

    The value of the tag, non null