Gallagher Mobile Connect SDK
|
Inherits com.gallagher.security.mobileaccess.AccessListener.
Public Member Functions | |
void | onReturnToReaderRequired (Reader reader) |
void | onReturnedToReader (Reader reader) |
Public Member Functions inherited from com.gallagher.security.mobileaccess.AccessListener | |
void | onAccessStarted (@NonNull Reader reader) |
void | onAccessCompleted (@NonNull Reader reader, @Nullable AccessResult accessResult, @Nullable ReaderConnectionError error) |
Callback interface used to notify about an Access Attempts which happen automatically (i.e. in response to the user physically placing their phone next to a reader, rather than by interacting with the software)
void com.gallagher.security.mobileaccess.AutomaticAccessListener.onReturnedToReader | ( | Reader | reader | ) |
Only relevant for NFC access requests. Called after NfcAccessListener::onReturnToReaderRequired(Reader) when the SDK has detected that the mobile device is able to communicate via NFC again. You can use it to hide the "Return phone to reader" screen that you displayed above
reader | The reader that the user has returned their mobile device to |
void com.gallagher.security.mobileaccess.AutomaticAccessListener.onReturnToReaderRequired | ( | Reader | reader | ) |
Only relevant for NFC access requests. This happens when the SDK detects that the user has pulled their mobile device away from the reader partway through an access transaction, and should put it back. Typically they will do this to enter a PIN or fingerprint. You should show a screen that says something similar to "Return phone to reader" such as Mobile Connect does in response to this callback
reader | The reader that the user is required to return their mobile device to |