session-ios/SignalServiceKit/src/Network/OWSCountryMetadata.h
Michael Kirk 875321cecc Reflector configuration supports per-country code
Also update reflector hosts/policy

// FREEBIE
2018-03-28 17:39:45 -04:00

21 lines
538 B
Objective-C

//
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
//
NS_ASSUME_NONNULL_BEGIN
@interface OWSCountryMetadata : NSObject
@property (nonatomic) NSString *name;
@property (nonatomic) NSString *tld;
@property (nonatomic, nullable) NSString *frontingDomain;
@property (nonatomic) NSString *countryCode;
@property (nonatomic) NSString *localizedCountryName;
+ (OWSCountryMetadata *)countryMetadataForCountryCode:(NSString *)countryCode;
+ (NSArray<OWSCountryMetadata *> *)allCountryMetadatas;
@end
NS_ASSUME_NONNULL_END