ARTReachability
Objective-C
@protocol ARTReachability <NSObject>
- (instancetype)initWithLogger:(ARTInternalLog *)logger queue:(dispatch_queue_t)queue;
- (void)listenForHost:(NSString *)host callback:(void (^)(BOOL))callback;
- (void)off;
@end
Swift
protocol ARTReachability : NSObjectProtocol
Undocumented
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithLogger:(ARTInternalLog *)logger queue:(dispatch_queue_t)queue;
Swift
init(logger: InternalLog, queue: dispatch_queue_t)
-
Undocumented
Declaration
Objective-C
- (void)listenForHost:(NSString *)host callback:(void (^)(BOOL))callback;
Swift
func listen(forHost host: String, callback: @escaping (Bool) -> Void)
-
Undocumented
Declaration
Objective-C
- (void)off;
Swift
func off()