Gallagher Mobile Connect SDK
|
Inherited by com.gallagher.security.mobileaccess.AutomaticAccessListener.
Public Member Functions | |
void | onAccessStarted (@NonNull Reader reader) |
void | onAccessCompleted (@NonNull Reader reader, @Nullable AccessResult accessResult, @Nullable ReaderConnectionError error) |
Callback interface used to notify about an access attempt, such as whether it was Granted or Denied.
void com.gallagher.security.mobileaccess.AccessListener.onAccessCompleted | ( | @NonNull Reader | reader, |
@Nullable AccessResult | accessResult, | ||
@Nullable ReaderConnectionError | error | ||
) |
Callback that is called when an access request has completed succesfully with a result
reader | The reader that an access decision was made on |
accessResult | If non-null, the access request completed, and this contains the decision that was made for the access request |
error | If non-null, the access request failed, and this contains the error |
void com.gallagher.security.mobileaccess.AccessListener.onAccessStarted | ( | @NonNull Reader | reader | ) |
Callback that is called when an access request is about to start. This is the app's opportunity to give some feedback about the process starting.
reader | The reader that is having an access request started |