12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- //
- // M2PhoneMetaData.h
- // libPhoneNumber
- //
- //
- #import <Foundation/Foundation.h>
- @class NBPhoneNumberDesc, NBNumberFormat;
- @interface NBPhoneMetaData : NSObject
- // from phonemetadata.proto
- /* 1 */ @property(nonatomic, strong) NBPhoneNumberDesc *generalDesc;
- /* 2 */ @property(nonatomic, strong) NBPhoneNumberDesc *fixedLine;
- /* 3 */ @property(nonatomic, strong) NBPhoneNumberDesc *mobile;
- /* 4 */ @property(nonatomic, strong) NBPhoneNumberDesc *tollFree;
- /* 5 */ @property(nonatomic, strong) NBPhoneNumberDesc *premiumRate;
- /* 6 */ @property(nonatomic, strong) NBPhoneNumberDesc *sharedCost;
- /* 7 */ @property(nonatomic, strong) NBPhoneNumberDesc *personalNumber;
- /* 8 */ @property(nonatomic, strong) NBPhoneNumberDesc *voip;
- /* 21 */ @property(nonatomic, strong) NBPhoneNumberDesc *pager;
- /* 25 */ @property(nonatomic, strong) NBPhoneNumberDesc *uan;
- /* 27 */ @property(nonatomic, strong) NBPhoneNumberDesc *emergency;
- /* 28 */ @property(nonatomic, strong) NBPhoneNumberDesc *voicemail;
- /* 24 */ @property(nonatomic, strong) NBPhoneNumberDesc *noInternationalDialling;
- /* 9 */ @property(nonatomic, strong) NSString *codeID;
- /* 10 */ @property(nonatomic, strong) NSNumber *countryCode;
- /* 11 */ @property(nonatomic, strong) NSString *internationalPrefix;
- /* 17 */ @property(nonatomic, strong) NSString *preferredInternationalPrefix;
- /* 12 */ @property(nonatomic, strong) NSString *nationalPrefix;
- /* 13 */ @property(nonatomic, strong) NSString *preferredExtnPrefix;
- /* 15 */ @property(nonatomic, strong) NSString *nationalPrefixForParsing;
- /* 16 */ @property(nonatomic, strong) NSString *nationalPrefixTransformRule;
- /* 18 */ @property(nonatomic, assign) BOOL sameMobileAndFixedLinePattern;
- /* 19 */ @property(nonatomic, strong) NSArray<NBNumberFormat *> *numberFormats;
- /* 20 */ @property(nonatomic, strong) NSArray<NBNumberFormat *> *intlNumberFormats;
- /* 22 */ @property(nonatomic, assign) BOOL mainCountryForCode;
- /* 23 */ @property(nonatomic, strong) NSString *leadingDigits;
- /* 26 */ @property(nonatomic, assign) BOOL leadingZeroPossible;
- #if SHORT_NUMBER_SUPPORT
- /* 29 */ @property (nonatomic, strong) NBPhoneNumberDesc *shortCode;
- /* 30 */ @property (nonatomic, strong) NBPhoneNumberDesc *standardRate;
- /* 31 */ @property (nonatomic, strong) NBPhoneNumberDesc *carrierSpecific;
- /* 33 */ @property (nonatomic, strong) NBPhoneNumberDesc *smsServices;
- #endif // SHORT_NUMBER_SUPPORT
- - (instancetype)initWithEntry:(NSArray *)entry;
- @end
|