Function SCNetworkReachabilityScheduleWithRunLoop

Source
pub unsafe extern "C-unwind" fn SCNetworkReachabilityScheduleWithRunLoop(
    target: &SCNetworkReachability,
    run_loop: &CFRunLoop,
    run_loop_mode: &CFString,
) -> bool
👎Deprecated
Available on crate feature SCNetworkReachability only.
Expand description

Schedules the given target with the given run loop and mode.

Parameter target: The address or name that is set up for asynchronous notifications. Must be non-NULL.

Parameter runLoop: A reference to a run loop on which the target should be scheduled. Must be non-NULL.

Parameter runLoopMode: The mode on which to schedule the target. Must be non-NULL.

Returns: Returns TRUE if the target is scheduled successfully; FALSE otherwise.