Package-level declarations
Phone number formatting and validation on top of Google libphonenumber (PhoneNumberFormatter, PhoneNumberValidator), and the optional, host-implemented verification flow (PhoneNumberVerificationHandler, PhoneVerificationController, PhoneVerificationState).
Phone number formatting and validation on top of Google libphonenumber (PhoneNumberFormatter, PhoneNumberValidator), and the optional, host-implemented verification flow (PhoneNumberVerificationHandler, PhoneVerificationController, PhoneVerificationState).
Types
Formatting and normalization for phone numbers, backed entirely by Google libphonenumber — the Java library on Android, its Objective-C port libPhoneNumber-iOS on iOS, both generated from the same metadata release (see PhoneNumberBackend).
Country-aware phone validation on top of libphonenumber.
The contract a host implements to verify a phone number with its own backend.
Sequences PhoneNumberVerificationHandler calls and exposes the result as a single observable PhoneVerificationState.
Where a phone number is in the verification flow.
Outcome of PhoneNumberVerificationHandler.requestVerification or resendCode.
Outcome of PhoneNumberVerificationHandler.verifyCode.
Functions
Parses nationalNumber as a number in country into libphonenumber's own Phonenumber.PhoneNumber, returning null when it cannot be parsed at all (rather than throwing into composition).
Remembers a PhoneVerificationController for handler.