getCountryCodeForRegion static method
Implementation
static int getCountryCodeForRegion(String regionCode) {
final activationFactoryPtr =
CreateActivationFactory(_className, IID_IPhoneNumberFormatterStatics);
final object =
IPhoneNumberFormatterStatics.fromRawPointer(activationFactoryPtr);
try {
return object.getCountryCodeForRegion(regionCode);
} finally {
object.release();
}
}