HealthCardType

public protocol HealthCardType

HealthCard classes should implement the HealthCardType protocol

  • The current status for the Card object

    Declaration

    Swift

    var status: HealthCardStatus { get }
  • The current (open) card channel that can be used to send APDU messages

    Declaration

    Swift

    var currentCardChannel: CardChannelType { get }
  • disconnect(reset:) Extension method

    Convenience function to disconnect and invalidate an possibly opened session with the underlying card

    Throws

    CardError

    Declaration

    Swift

    public func disconnect(reset: Bool) throws

    Parameters

    reset

    Bool to forward to the close call on the card