request_scan_options_async


Description:

[ CCode ( finish_name = "nm_device_wifi_request_scan_finish" ) ]
[ Version ( since = "1.2" ) ]
public async bool request_scan_options_async (Variant options, Cancellable? cancellable) throws Error

Request NM to scan for access points on this.

Note that callback will be called 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_async 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)

To complete the request call request_scan_async.end.

Parameters:

this

a DeviceWifi

options

dictionary with options for RequestScan, or null

cancellable

a Cancellable, or null

callback

callback to be called when the scan has been requested

user_data

caller-specific data passed to callback