# start

open override fun start(listener: IDeviceScanner.OnDeviceFoundListener, scanPeriodMs: Long = DEFAULT_GENERAL_SCAN_PERIOD_MS): IDeviceScanner.DeviceScannerState

Starts a search for nearby Nix devices using Bluetooth for a selected time interval. If no timeout interval is specified, the search will run for DEFAULT_GENERAL_SCAN_PERIOD_MS.

#### Return

New state of the scanner after invoking this call.

#### Parameters

listener

Callback to be invoked when supported devices are found.

scanPeriodMs

Time period to run the search, in milliseconds. If omitted, the default value of DEFAULT_GENERAL_SCAN_PERIOD_MS is used.