IdentityScanner

A generic callback handler class.

import com.sybrin.identity.IdentityScanner

Summary

Public methods

addOnCancelListener

public IdentityScanner<T> addOnCancelListener (IdentityScanner.OnCancelListener onCancelListener)

Subscribes to a callback that will fire when the SDK's scanning process is canceled.

addOnFailureListener

public IdentityScanner<T> addOnFailureListener(IdentityScanner.OnFailureListener onFailureListener)

Subscribes to a callback that will fire when the SDK's scanning process is fails and throws an exception.

addOnSuccessListener

public IdentityScanner<T> addOnSuccessListener(IdentityScanner.OnSuccessListener<T> onSuccessListener)

Subscribes to a callback that will fire when the SDK's scanning process is succeeds.

Last updated