NBPhoneNumberDesc.h 791 B

123456789101112131415161718192021
  1. //
  2. // NBPhoneNumberDesc.h
  3. // libPhoneNumber
  4. //
  5. //
  6. #import <Foundation/Foundation.h>
  7. @interface NBPhoneNumberDesc : NSObject
  8. // from phonemetadata.pb.js
  9. /* 2 */ @property(nonatomic, strong, readonly) NSString *nationalNumberPattern;
  10. /* 3 */ @property(nonatomic, strong, readonly) NSString *possibleNumberPattern;
  11. /* 9 */ @property(nonatomic, strong, readonly) NSArray<NSNumber *> *possibleLength;
  12. /* 10 */ @property(nonatomic, strong, readonly) NSArray<NSNumber *> *possibleLengthLocalOnly;
  13. /* 6 */ @property(nonatomic, strong, readonly) NSString *exampleNumber;
  14. /* 7 */ @property(nonatomic, strong, readonly) NSData *nationalNumberMatcherData;
  15. /* 8 */ @property(nonatomic, strong, readonly) NSData *possibleNumberMatcherData;
  16. - (instancetype)initWithEntry:(NSArray *)entry;
  17. @end