Inherits from NSObject
Declared in VDARCode.h

Overview

A code detected by VDARSDKController.

Tasks

  •   codeType

    The type of code recognized, can be only one of the value of the VDARCodeType enum.

    property
  •   isSpecialCode

    When this property is set to YES, the code has already been treated by VDARSDK and the proper action has been done (such as downloading a VDARModel). You should safely ignore this code in your processing routines.

    property
  •   codeData

    The code data represented as a string (usually readable string as codes usually encode readable data).

    property
  • – isEqualToCode:

    Return true if the receiver is equal to c.

Properties

codeData

The code data represented as a string (usually readable string as codes usually encode readable data).

@property (nonatomic, readonly) NSString *codeData

Discussion

The code data represented as a string (usually readable string as codes usually encode readable data).

Declared In

VDARCode.h

codeType

The type of code recognized, can be only one of the value of the VDARCodeType enum.

@property (nonatomic, readonly) VDARCodeType codeType

Discussion

The type of code recognized, can be only one of the value of the VDARCodeType enum.

Declared In

VDARCode.h

isSpecialCode

When this property is set to YES, the code has already been treated by VDARSDK and the proper action has been done (such as downloading a VDARModel). You should safely ignore this code in your processing routines.

@property (nonatomic, readonly) BOOL isSpecialCode

Discussion

When this property is set to YES, the code has already been treated by VDARSDK and the proper action has been done (such as downloading a VDARModel). You should safely ignore this code in your processing routines.

Declared In

VDARCode.h

Instance Methods

isEqualToCode:

Return true if the receiver is equal to c.

- (BOOL)isEqualToCode:(VDARCode *)c

Parameters

c

The code to compare to

Return Value

YES if equal, NO otherwise.

Discussion

Return true if the receiver is equal to c.

A code is defined to be equal if it is the same type (codeType) and has the same data (codeData).

Declared In

VDARCode.h