Package app.akiles.sdk
Class Card
java.lang.Object
app.akiles.sdk.Card
Card scanned with
Akiles.scanCard(Callback)
All methods in this class do not block, so it's OK to call them from the UI thread. Methods that don't do IO complete instantly, methods that do use a callback to notify completion or error.
The callbacks can be called from any thread, you must not assume they're called from the UI thread nor the thread you initially called the method from.
-
Method Summary
-
Method Details
-
getUid
public byte[] getUid()Return the UID of the card.- Returns:
- The UID.
-
isAkilesCard
public boolean isAkilesCard()Check if it's an Akiles card.- Returns:
- true if it's an Akiles card, false if otherwise.
-
update
Update the data on the card with the Akiles server.- Parameters:
callback
- Callback called on completion or error.
-
close
public void close()Close the connection to the card.
-