public interface AppleSignInCallback

Callback for AppleSignIn.signIn(String, AppleSignInCallback). Implement the three terminal outcomes – success, error, cancellation – so the caller can tell user-intent (cancel) apart from a real failure.

Methods

public abstract void onSuccess(AppleSignInResult result)User completed the sheet successfully.
public abstract void onError(String error)A network or protocol error occurred.
public abstract void onCancel()User dismissed the sheet without completing.

Method details

onSuccess

public abstract void onSuccess(AppleSignInResult result)
User completed the sheet successfully.

onError

public abstract void onError(String error)
A network or protocol error occurred. error is a short human-readable string (may be null if the underlying layer did not provide one).

onCancel

public abstract void onCancel()
User dismissed the sheet without completing.