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.
session-ios/SignalServiceKit/src/Network/OWSSignalService.h

36 lines
999 B
C

//
7 years ago
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
//
NS_ASSUME_NONNULL_BEGIN
extern NSString *const kNSNotificationName_IsCensorshipCircumventionActiveDidChange;
@class AFHTTPSessionManager;
@class OWSPrimaryStorage;
@class TSAccountManager;
@interface OWSSignalService : NSObject
/// For uploading avatar assets.
@property (nonatomic, readonly) AFHTTPSessionManager *CDNSessionManager;
+ (instancetype)sharedInstance;
- (instancetype)init NS_UNAVAILABLE;
#pragma mark - Censorship Circumvention
@property (atomic, readonly) BOOL isCensorshipCircumventionActive;
@property (atomic, readonly) BOOL hasCensoredPhoneNumber;
@property (atomic) BOOL isCensorshipCircumventionManuallyActivated;
@property (atomic) BOOL isCensorshipCircumventionManuallyDisabled;
@property (atomic, nullable) NSString *manualCensorshipCircumventionCountryCode;
7 years ago
/// For interacting with the Signal Service
- (AFHTTPSessionManager *)buildSignalServiceSessionManager;
@end
NS_ASSUME_NONNULL_END