Contents

SCNetworkReachabilitySetDispatchQueue(_:_:)

Schedules callbacks for the specified target on the specified dispatch queue.

Declaration

func SCNetworkReachabilitySetDispatchQueue(_ target: SCNetworkReachability, _ queue: dispatch_queue_t?) -> Bool

Parameters

  • 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 NULL to disable notifications and release the queue.

Return Value

TRUE if the target is scheduled successfully; otherwise, FALSE.

See Also

Preparing to Determine Reachability