SFSDKReachability Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | SFSDKReachability.h |
+ reachabilityWithHostName:
Use to check the reachability of a given host name.
+ (instancetype)reachabilityWithHostName:(NSString *)hostNameDeclared In
SFSDKReachability.h
+ reachabilityWithAddress:
Use to check the reachability of a given IP address.
+ (instancetype)reachabilityWithAddress:(const struct sockaddr *)hostAddressDeclared In
SFSDKReachability.h
+ reachabilityForInternetConnection
Checks whether the default route is available. Should be used by applications that do not connect to a particular host.
+ (instancetype)reachabilityForInternetConnectionDeclared In
SFSDKReachability.h
– startNotifier
Start listening for reachability notifications on the current run loop.
- (BOOL)startNotifierDeclared In
SFSDKReachability.h
– connectionRequired
WWAN may be available, but not active until a connection has been established. WiFi may require a connection for VPN on Demand.
- (BOOL)connectionRequiredDeclared In
SFSDKReachability.h