Gallagher Mobile Connect SDK
Public Member Functions | List of all members
com.gallagher.security.mobileaccess.AccessListener Interface Reference

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)
 

Detailed Description

Callback interface used to notify about an access attempt, such as whether it was Granted or Denied.

Member Function Documentation

◆ onAccessCompleted()

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

Parameters
readerThe reader that an access decision was made on
accessResultIf non-null, the access request completed, and this contains the decision that was made for the access request
errorIf non-null, the access request failed, and this contains the error

◆ onAccessStarted()

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.

Parameters
readerThe reader that is having an access request started

The documentation for this interface was generated from the following file: