class ScanResultIterator

Defined at line 4898 of file fidling/gen/sdk/fidl/fuchsia.wlan.policy/fuchsia.wlan.policy/hlcpp/fuchsia/wlan/policy/cpp/fidl.h

Iterator used to send back scan results to the caller. The corresponding channel

will be closed after the scan is complete and results are returned or fails due

to an error.

Public Methods

void ~ScanResultIterator ()
void GetNext (GetNextCallback callback)

Allows caller to request the next set of scan results.

After all scan results have been sent, the next call to GetNext will return

an empty vector and the channel will be closed.

If an error is encountered during the scan, the error will be returned and

the channel will be closed. No scan results will be provided.