mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Add callback argument to start tracking method and hide reachability status changed block
This commit is contained in:
@@ -13,11 +13,10 @@
|
||||
|
||||
@property (readonly, nonatomic) BOOL isTracking;
|
||||
@property (readonly, nonatomic) OpenVPNReachabilityStatus reachabilityStatus;
|
||||
@property (copy, nonatomic) void (^ _Nullable reachabilityStatusChangedBlock)(OpenVPNReachabilityStatus reachabilityStatus);
|
||||
|
||||
- (nonnull instancetype)init;
|
||||
|
||||
- (void)startTracking;
|
||||
- (void)startTrackingWithCallback:(nullable void (^)(OpenVPNReachabilityStatus))callback;
|
||||
- (void)stopTracking;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user