mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.2 KiB
Objective-C
43 lines
1.2 KiB
Objective-C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
extern NSString *const kNSNotificationName_IsCensorshipCircumventionActiveDidChange;
|
|
|
|
@class TSStorageManager;
|
|
@class TSAccountManager;
|
|
@class AFHTTPSessionManager;
|
|
|
|
@interface OWSSignalService : NSObject
|
|
|
|
/// For interacting with the Signal Service
|
|
@property (nonatomic, readonly) AFHTTPSessionManager *signalServiceSessionManager;
|
|
|
|
/// For uploading avatar assets.
|
|
@property (nonatomic, readonly) AFHTTPSessionManager *CDNSessionManager;
|
|
|
|
@property (atomic, readonly) BOOL isCensorshipCircumventionActive;
|
|
|
|
@property (nonatomic, readonly) BOOL hasCensoredPhoneNumber;
|
|
|
|
+ (instancetype)sharedInstance;
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
|
|
- (BOOL)isCensorshipCircumventionManuallyActivated;
|
|
- (void)setIsCensorshipCircumventionManuallyActivated:(BOOL)value;
|
|
|
|
#pragma mark - Censorship Circumvention Domain
|
|
|
|
- (NSString *)manualCensorshipCircumventionDomain;
|
|
- (void)setManualCensorshipCircumventionDomain:(NSString *)value;
|
|
|
|
- (NSString *)manualCensorshipCircumventionCountryCode;
|
|
- (void)setManualCensorshipCircumventionCountryCode:(NSString *)value;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|