2019-08-16 16:48:30 +03:00

29 lines
924 B
Objective-C
Executable File

//
// NBPhoneNumber.h
// libPhoneNumber
//
//
#import <Foundation/Foundation.h>
#if TARGET_OS_IOS
#import <libphonenumber/NBPhoneNumberDefines.h>
#else
#import <libphonenumbermac/NBPhoneNumberDefines.h>
#endif
@interface NBPhoneNumber : NSObject <NSCopying, NSCoding>
// from phonemetadata.pb.js
/* 1 */ @property (nonatomic, strong, readwrite) NSNumber *countryCode;
/* 2 */ @property (nonatomic, strong, readwrite) NSNumber *nationalNumber;
/* 3 */ @property (nonatomic, strong, readwrite) NSString *extension;
/* 4 */ @property (nonatomic, assign, readwrite) BOOL italianLeadingZero;
/* 5 */ @property (nonatomic, strong, readwrite) NSString *rawInput;
/* 6 */ @property (nonatomic, strong, readwrite) NSNumber *countryCodeSource;
/* 7 */ @property (nonatomic, strong, readwrite) NSString *preferredDomesticCarrierCode;
- (void)clearCountryCodeSource;
- (NBECountryCodeSource)getCountryCodeSourceOrDefault;
@end