OpenVPNAdapter/OpenVPN Adapter/OpenVPNReachability.h

23 lines
497 B
C
Raw Normal View History

//
// OpenVPNReachability.h
// OpenVPN Adapter
//
// Created by Sergey Abramchuk on 17.07.17.
//
//
#import <Foundation/Foundation.h>
#import "OpenVPNReachabilityStatus.h"
@interface OpenVPNReachability : NSObject
2017-07-18 23:09:58 +08:00
@property (readonly, nonatomic) BOOL isTracking;
@property (readonly, nonatomic) OpenVPNReachabilityStatus reachabilityStatus;
- (nonnull instancetype)init;
- (void)startTrackingWithCallback:(nullable void (^)(OpenVPNReachabilityStatus))callback;
- (void)stopTracking;
@end