Package org.forgerock.android.auth
Interface FRListener<T>
-
- Type Parameters:
T- The type of the result
- All Known Subinterfaces:
NodeListener<T>,WebAuthnListener
- All Known Implementing Classes:
FRListenerFuture,NodeListenerFuture
public interface FRListener<T>Listener to listen for event
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonException(java.lang.Exception e)Called when an asynchronous call fails to complete.voidonSuccess(T result)Called when an asynchronous call completes successfully.
-
-
-
Method Detail
-
onSuccess
void onSuccess(T result)
Called when an asynchronous call completes successfully.- Parameters:
result- the value returned
-
onException
void onException(java.lang.Exception e)
Called when an asynchronous call fails to complete.- Parameters:
e- the reason for failure
-
-