Interface VoterScanner

All Superinterfaces:
AutoCloseable, Commented, ComprehensiveIdentification, Device, Identified<Identification>, Named, Sensor<Dimensionless>, Serializable
All Known Implementing Classes:
SimulatedVoterScanner

public interface VoterScanner extends Sensor<Dimensionless>
Interface for a voter identification scanner.
Since:
1.2
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • isVoterDetected

      boolean isVoterDetected()
      Returns:
      true if a voter ID is currently detected.
    • scanVoter

      Identification scanVoter()
      Scans and returns the current voter's identification.
      Returns:
      The identification of the voter, or null if none detected.