NBPhoneNumber.h 897 B

12345678910111213141516171819202122232425
  1. //
  2. // NBPhoneNumber.h
  3. // libPhoneNumber
  4. //
  5. //
  6. #import <Foundation/Foundation.h>
  7. #import "NBPhoneNumberDefines.h"
  8. @interface NBPhoneNumber : NSObject<NSCopying, NSCoding>
  9. // from phonemetadata.pb.js
  10. /* 1 */ @property(nonatomic, strong, readwrite) NSNumber *countryCode;
  11. /* 2 */ @property(nonatomic, strong, readwrite) NSNumber *nationalNumber;
  12. /* 3 */ @property(nonatomic, strong, readwrite) NSString *extension;
  13. /* 4 */ @property(nonatomic, assign, readwrite) BOOL italianLeadingZero;
  14. /* 8 */ @property(nonatomic, strong, readwrite) NSNumber *numberOfLeadingZeros;
  15. /* 5 */ @property(nonatomic, strong, readwrite) NSString *rawInput;
  16. /* 6 */ @property(nonatomic, strong, readwrite) NSNumber *countryCodeSource;
  17. /* 7 */ @property(nonatomic, strong, readwrite) NSString *preferredDomesticCarrierCode;
  18. - (void)clearCountryCodeSource;
  19. - (NBECountryCodeSource)getCountryCodeSourceOrDefault;
  20. @end