request_scan


Description:

[ Version ( deprecated = true , deprecated_since = "1.22" ) ]
public bool request_scan (Cancellable? cancellable = null) throws Error

Warning: request_scan is deprecated since 1.22.

Request NM to scan for access points on this.

Note:

Use request_scan_async or GDBusConnection.

Note that the function returns immediately after requesting the scan, and it may take some time after that for the scan to complete.

Parameters:

this

a DeviceWifi

cancellable

a Cancellable, or null

Returns:

true on success, false on error, in which case throws will be set.