![]() |
Streamaxia Open SDK
3.2
|
#import <AXReachability.h>
Instance Methods | |
Public methods | |
| (BOOL) | - startMonitoringNetworkStatus |
| (void) | - stopMonitoringNetworkStatus |
| (NSString *) | - debugFlagsString |
| (NSString *) | - debugDescription |
Class Methods | |
Lifecycle | |
| (instancetype) | + reachabilityWithHostName: |
| (instancetype) | + reachabilityWithHostAddress: |
| (instancetype) | + reachabilityForInternetConnection |
| (instancetype) | + reachabilityForLocalWiFi |
Properties | |
Properties | |
| void(^ | networkDidBecomeReachableBlock )(AXNetworkStatus status) |
| void(^ | networkDidBecomeUnreachableBlock )(void) |
| void(^ | networkDidChangeReachabilityBlock )(AXNetworkStatus status) |
| BOOL | isConnectionRequired |
| BOOL | isConnectionOnDemand |
| BOOL | isUserInteractionRequired |
| BOOL | isReachable |
| BOOL | isReachableOnWiFi |
| BOOL | isReachableOnWWAN |
| BOOL | didStartMonitoringNetworkStatus |
| AXNetworkStatus | currentReachabilityStatus |
| NSString * | currentReachabilityString |
The network reachability monitor.
| - (NSString *) debugDescription |
Get the object description, for debug purposes. Use this for debugging.
| - (NSString *) debugFlagsString |
Get the network flags as a string. Use this for debugging.
| + (instancetype) reachabilityForInternetConnection |
Factory method for creating a network reachability object for monitoring internet reachability.
| + (instancetype) reachabilityForLocalWiFi |
Factory method for creating a network reachability object, for monitoring internet reachability on WiFi only.
| + (instancetype) reachabilityWithHostAddress: | (void *) | hostAddress |
Factory method for creating a network reachability object, using a host address.
| hostAddress | The host address (a reference to a sockaddr_in variable). |
| + (instancetype) reachabilityWithHostName: | (NSString *) | hostName |
Factory method for creating a network reachability object, using a host name.
| hostName | The host name (e.g. www.apple.com). |
| - (BOOL) startMonitoringNetworkStatus |
Start monitoring the network status updates. To be informed about the changes, either subscribe to the notifications (kAXReachabilityDidChangeNotification) or use the desired blocks to monitor the changes (networkDidBecomeReachableBlock, networkDidBecomeUnreachableBlock or networkDidChangeReachabilityBlock).
| - (void) stopMonitoringNetworkStatus |
Stop monitoring the network status updates.
|
readnonatomicassign |
The current network reachability status.
|
readnonatomicstrong |
The current network reachability, as a readable string.
|
readnonatomicassign |
Returns YES if the monitoring of network status was started.
|
readnonatomicassign |
Rturns YES if the connection required is on-demand (it is not dynamic).
|
readnonatomicassign |
Returns YES if a connection is required.
|
readnonatomicassign |
Returns YES if the network is reachable (either on cellular or WiFi).
|
readnonatomicassign |
Returns YES if the network is reachable on the local WiFi.
|
readnonatomicassign |
Returns YES if the network is reachable on the cellular network.
|
readnonatomicassign |
Returns YES if the user intervetion is required to make a connection.
|
readwritenonatomiccopy |
The block called when the network becomes reachable. The monitoring must be on in order to be notified of network status changes.
|
readwritenonatomiccopy |
The block called when the network becomes unreachable. The monitoring must be on in order to be notified of network status changes.
|
readwritenonatomiccopy |
The block called when the network reachability status changes. The monitoring must be on in order to be notified of network status changes.
1.8.13