public class SERecognizerByAID extends SERecognizer
| Modifier and Type | Field and Description |
|---|---|
static int |
AID_MAX_LENGTH
The maximum length of an AID.
|
static int |
AID_MIN_LENGTH
The minimum length of an AID.
|
| Constructor and Description |
|---|
SERecognizerByAID(byte[] aid)
Initializes a new instance of the SERecognizerByAID class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMatching(Session session)
Tries to open a channel with the specified AID.
|
public static final int AID_MIN_LENGTH
public static final int AID_MAX_LENGTH
public SERecognizerByAID(byte[] aid)
throws java.lang.IllegalArgumentException
aid - The expected AID.java.lang.IllegalArgumentException - if the length of AID is not between
AID_MIN_LENGTH and AID_MAX_LENGTH or if it's null.public boolean isMatching(Session session) throws java.lang.IllegalArgumentException
isMatching in class SERecognizersession - The session in which to open the channel.java.lang.IllegalArgumentException - if the used session is null.SEEK for Android Copyright 2015, Giesecke & Devrient GmbH