# Interface AppleSignInCallback

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.

Since:
  7.0.245

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onCancel()`
  User dismissed the sheet without completing.
  `void`
  `onError(String error)`
  A network or protocol error occurred.
  `void`
  `onSuccess(AppleSignInResult result)`
  User completed the sheet successfully.

- ## Method Details

  - ### onSuccess

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

  - ### onError

    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

    void onCancel()
    User dismissed the sheet without completing.