get_last_scan


Description:

[ Version ( since = "1.12" ) ]
public int64 get_last_scan ()

Returns the timestamp (in CLOCK_BOOTTIME milliseconds) for the last finished network scan.

A value of -1 means the device never scanned for access points.

Use get_timestamp_msec to obtain current time value suitable for comparing to this value.

Parameters:

this

a DeviceWifi

Returns:

the last scan time in milliseconds (in clock_gettime(CLOCK_BOOTTIME) scale).