namespace GooglePlayGames.BasicApi
{
public enum SignInStatus
{
/// The operation was successful.
Success,
///
/// The client attempted to connect to the service but the user is not signed in. The client may
/// choose to continue without using the API. Alternately, if {@link Status#hasResolution} returns
/// {@literal true} the client may call {@link Status#startResolutionForResult(Activity, int)} to
/// prompt the user to sign in. After the sign in activity returns with {@link Activity#RESULT_OK}
/// further attempts should succeed.
///
UiSignInRequired,
///
/// The application is misconfigured. This error is not recoverable and will be treated as fatal.
/// The developer should look at the logs after this to determine more actionable information.
///
DeveloperError,
/// A network error occurred. Retrying should resolve the problem.
NetworkError,
/// An internal error occurred.
InternalError,
/// The sign in was canceled.
Canceled,
///
/// A sign in process is currently in progress and the current one cannot continue. e.g. the user
/// clicks the SignInButton multiple times and more than one sign in intent was launched.
///
AlreadyInProgress,
///
/// Failure reason is unknown. Check adb log to see details if any.
///
Failed,
///
/// Currently not authenticated. Silent or interactive sign in is required.
///
NotAuthenticated,
}
}