public interface RegionMetadataSource
Modifier and Type | Method and Description |
---|---|
Phonemetadata.PhoneMetadata |
getMetadataForRegion(java.lang.String regionCode)
Returns phone metadata for provided geographical region.
|
Phonemetadata.PhoneMetadata getMetadataForRegion(java.lang.String regionCode)
The regionCode
must be different from GeoEntityUtility.REGION_CODE_FOR_NON_GEO_ENTITIES
, which has a special meaning and is used to
mark non-geographical regions (see NonGeographicalEntityMetadataSource
for more
information).
regionCode
, or null if there is none.java.lang.IllegalArgumentException
- if provided regionCode
is GeoEntityUtility.REGION_CODE_FOR_NON_GEO_ENTITIES
Copyright © 2022 Google. All Rights Reserved.