Class PhoneNumberVerificationRequiredException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PhoneNumberVerificationRequiredException
    extends FirebaseUiException
    Represents an error in which the phone number couldn't be automatically verified and must therefore be manually verified by the client by sending an SMS code.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPhoneNumber()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PhoneNumberVerificationRequiredException

        public PhoneNumberVerificationRequiredException​(@NonNull
                                                        java.lang.String number)
        Parameters:
        number - the phone number requiring verification, formatted with a country code prefix
    • Method Detail

      • getPhoneNumber

        @NonNull
        public java.lang.String getPhoneNumber()
        Returns:
        the phone number requiring verification