-
public interface MatcherApiInternal phonenumber matching API used to isolate the underlying implementation of the matcher and allow different implementations to be swapped in easily.
-
-
Method Summary
Modifier and Type Method Description abstract booleanmatchNationalNumber(CharSequence number, Phonemetadata.PhoneNumberDesc numberDesc, boolean allowPrefixMatch)Returns whether the given national number (a string containing only decimal digits) matchesthe national number pattern defined in the given {@code PhoneNumberDesc}message.-
-
Method Detail
-
matchNationalNumber
abstract boolean matchNationalNumber(CharSequence number, Phonemetadata.PhoneNumberDesc numberDesc, boolean allowPrefixMatch)
Returns whether the given national number (a string containing only decimal digits) matchesthe national number pattern defined in the given
{@code PhoneNumberDesc}message.
-
-
-
-