LibPhonenumber-for-Delphi
Delphi-wrapper for the Для просмотра ссылки Войдиили Зарегистрируйся of Google's Для просмотра ссылки Войди или Зарегистрируйся. LibPhonenumber - Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers. The Java version is optimized for running on smartphones, and is used by the Android framework since 4.0 (Ice Cream Sandwich). Support for Delphi 32 bit and 64 bit. Minimum requirement .NET Framework 4.5.2.
Delphi-wrapper for the Для просмотра ссылки Войди
- Parsing, formatting, and validating phone numbers for all countries/regions of the world.
- getNumberType - gets the type of the number based on the number itself; able to distinguish Fixed-line, Mobile, Toll-free, Premium Rate, Shared Cost, VoIP, Personal Numbers, UAN, Pager, and Voicemail (whenever feasible).
- isNumberMatch - gets a confidence level on whether two numbers could be the same.
- getExampleNumber and getExampleNumberForType - provide valid example numbers for all countries/regions, with the option of specifying which type of example phone number is needed.
- isPossibleNumber - quickly guesses whether a number is a possible phone number by using only the length information, much faster than a full validation.
- isValidNumber - full validation of a phone number for a region using length and prefix information.
- AsYouTypeFormatter - formats phone numbers on-the-fly when users enter each digit.
- findNumbers - finds numbers in text.
- PhoneNumberOfflineGeocoder - provides geographical information related to a phone number.
- PhoneNumberToCarrierMapper - provides carrier information related to a phone number.
- PhoneNumberToTimeZonesMapper - provides timezone information related to a phone number.
Код:
var parsedNumber : String := TLibPhoneNumber.Parse('01511234567','DE');
Для просмотра ссылки Войди или Зарегистрируйся
Последнее редактирование: