Function

SCNetworkReachabilityGetTypeID()

Returns the type identifier of all SCNetworkReachability instances.

Declaration

func SCNetworkReachabilityGetTypeID() -> CFTypeID

Return Value

The type identifier of all SCNetworkReachability instances.

See Also

Preparing to Determine Reachability

func SCNetworkReachabilitySetCallback(SCNetworkReachability, SCNetworkReachabilityCallBack?, UnsafeMutablePointer<SCNetworkReachabilityContext>?) -> Bool

Assigns a client to the specified target, which receives callbacks when the reachability of the target changes.

func SCNetworkReachabilityScheduleWithRunLoop(SCNetworkReachability, CFRunLoop, CFString) -> Bool

Schedules the specified network target with the specified run loop and mode.

func SCNetworkReachabilityUnscheduleFromRunLoop(SCNetworkReachability, CFRunLoop, CFString) -> Bool

Unschedules the specified target from the specified run loop and mode.

func SCNetworkReachabilitySetDispatchQueue(SCNetworkReachability, DispatchQueue?) -> Bool

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