public interface FormattingMetadataSource
Modifier and Type | Method and Description |
---|---|
Phonemetadata.PhoneMetadata |
getFormattingMetadataForCountryCallingCode(int countryCallingCode)
Returns formatting phone metadata for provided country calling code.
|
Phonemetadata.PhoneMetadata getFormattingMetadataForCountryCallingCode(int countryCallingCode)
This method is similar to the one in NonGeographicalEntityMetadataSource.getMetadataForNonGeographicalRegion(int)
, except that it
will not fail for geographical regions, it can be used for both geo- and non-geo entities.
In case the provided countryCallingCode
maps to several different regions, only one
would contain formatting metadata.
countryCallingCode
, or null if there is none.Copyright © 2022 Google. All Rights Reserved.