CommandResponse

public class CommandResponse : CustomStringConvertible

Command response to send to card.

  • Command response.

    Declaration

    Swift

    public init(order: Int,
                responseType: CResponseType,
                cardResponse: String,
                uid: String?,
                atr: String?)
  • Declaration

    Swift

    public init(order: Int,
                responseType: CResponseType,
                cardCommand: String,
                uid: String?,
                atr: String?)
  • Specifies the order of a CommandResponse in the CommandResponseList.

    Declaration

    Swift

    public private(set) var order: Int { get }
  • Defines the outcome type of the command response.

    Declaration

    Swift

    public private(set) var responseType: CResponseType { get }
  • Response received from card.

    Declaration

    Swift

    public private(set) var cardResponse: String { get }
  • Declaration

    Swift

    public var cardCommand: String { get }
  • uid

    UID of the card.

    Declaration

    Swift

    public private(set) var uid: String? { get }
  • atr

    Answer to reset information received from the card.

    Declaration

    Swift

    public private(set) var atr: String? { get }
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }