Uses of Class
com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType
-
Packages that use PhoneNumberUtil.PhoneNumberType Package Description com.google.i18n.phonenumbers -
-
Uses of PhoneNumberUtil.PhoneNumberType in com.google.i18n.phonenumbers
Methods in com.google.i18n.phonenumbers that return PhoneNumberUtil.PhoneNumberType Modifier and Type Method Description PhoneNumberUtil.PhoneNumberTypePhoneNumberUtil. getNumberType(Phonenumber.PhoneNumber number)Gets the type of a valid phone number.static PhoneNumberUtil.PhoneNumberTypePhoneNumberUtil.PhoneNumberType. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PhoneNumberUtil.PhoneNumberType[]PhoneNumberUtil.PhoneNumberType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.i18n.phonenumbers that return types with arguments of type PhoneNumberUtil.PhoneNumberType Modifier and Type Method Description java.util.Set<PhoneNumberUtil.PhoneNumberType>PhoneNumberUtil. getSupportedTypesForNonGeoEntity(int countryCallingCode)Returns the types for a country-code belonging to a non-geographical entity which the library has metadata for.java.util.Set<PhoneNumberUtil.PhoneNumberType>PhoneNumberUtil. getSupportedTypesForRegion(java.lang.String regionCode)Returns the types for a given region which the library has metadata for.Methods in com.google.i18n.phonenumbers with parameters of type PhoneNumberUtil.PhoneNumberType Modifier and Type Method Description Phonenumber.PhoneNumberPhoneNumberUtil. getExampleNumberForType(PhoneNumberUtil.PhoneNumberType type)Gets a valid number for the specified number type (it may belong to any country).Phonenumber.PhoneNumberPhoneNumberUtil. getExampleNumberForType(java.lang.String regionCode, PhoneNumberUtil.PhoneNumberType type)Gets a valid number for the specified region and number type.booleanPhoneNumberUtil. isNumberGeographical(PhoneNumberUtil.PhoneNumberType phoneNumberType, int countryCallingCode)Overload of isNumberGeographical(PhoneNumber), since calculating the phone number type is expensive; if we have already done this, we don't want to do it again.booleanPhoneNumberUtil. isPossibleNumberForType(Phonenumber.PhoneNumber number, PhoneNumberUtil.PhoneNumberType type)PhoneNumberUtil.ValidationResultPhoneNumberUtil. isPossibleNumberForTypeWithReason(Phonenumber.PhoneNumber number, PhoneNumberUtil.PhoneNumberType type)Check whether a phone number is a possible number of a particular type.
-