SCNetworkReachabilitySetDispatchQueue(_:_:)
Schedules callbacks for the specified target on the specified dispatch queue.
Declaration
func SCNetworkReachabilitySetDispatchQueue(_ target: SCNetworkReachability, _ queue: dispatch_queue_t?) -> BoolParameters
- target:
The address or name that is set up for asynchronous notifications. Must not be
NULL. - queue:
The libdispatch queue on which the target should run. Pass
NULLto disable notifications and release the queue.
Return Value
TRUE if the target is scheduled successfully; otherwise, FALSE.