PassportChipReaderState

public enum PassportChipReaderState

The state of a PassportChipReader

State transitions:

  1. Idle
  2. [Idle] -> [Reading]
  3. [Reading] -> [Finished]
  4. [Finished] -> [Idle]
  • The reader is inactive & can begin reading

    Declaration

    Swift

    case idle
  • The reader is currently reading

    Declaration

    Swift

    case reading
  • The reader has just finished reading

    Declaration

    Swift

    case finished(PassportChipReaderResult)