request_scan_options


Description:

[ Version ( deprecated = true , deprecated_since = "1.22" , since = "1.2" ) ]
public bool request_scan_options (Variant options, Cancellable? cancellable = null) throws Error

Warning: request_scan_options is deprecated since 1.22.

Request NM to scan for access points on this.

Note:

Use request_scan_options_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. This is the same as nm_device_wifi_request_scan except it accepts options for the scanning. The argument is the dictionary passed to RequestScan D-Bus call. Valid options inside the dictionary are: 'ssids' => array of SSIDs (saay)

Parameters:

this

a DeviceWifi

options

dictionary with options for RequestScan, or null

cancellable

a Cancellable, or null

Returns:

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




2022 vala-language.org