This is a port of ShortNumberInfo class from Java version of libPhoneNumber into a category on NBPhoneNumberUtil class
30 lines
698 B
Objective-C
30 lines
698 B
Objective-C
//
|
|
// NBPhoneNumberUtil+ShortNumberTestHelper.h
|
|
// libPhoneNumber
|
|
//
|
|
// Created by Paween Itthipalkul on 12/1/17.
|
|
// Copyright © 2017 Google LLC. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "NBPhoneNumberUtil.h"
|
|
#import "NBPhoneNumberUtil+ShortNumber.h"
|
|
|
|
#if SHORT_NUMBER_SUPPORT
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/**
|
|
Includes methods used only for testing NBPhoneNumberUtil+ShortNumber.
|
|
*/
|
|
@interface NBPhoneNumberUtil(ShortNumberTestHelper)
|
|
|
|
- (NSString *)exampleShortNumberForCost:(NBEShortNumberCost)cost regionCode:(NSString *)regionCode;
|
|
- (NSString *)exampleShortNumberWithRegionCode:(NSString *)regionCode;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
#endif // SHORT_NUMBER_SUPPORT
|