NetworkCheck
@available(iOS 12.0, *)
class NetworkCheck
The purpose of the NetworkCheck
class is to check in background the network status.
-
Undocumented
See moreDeclaration
Swift
struct NetworkChangeObservation
-
- The network status can be:
- .satisfied
- .unsatisfied
- .requiresConnection
Declaration
Swift
var currentStatus: NWPath.Status { get }
- The network status can be:
-
Undocumented
Declaration
Swift
class func sharedInstance() -> NetworkCheck
-
Undocumented
Declaration
Swift
init()
-
Undocumented
Declaration
Swift
func addObserver(observer: NetworkCheckObserver)
-
Undocumented
Declaration
Swift
func removeObserver(observer: NetworkCheckObserver)