IDevice Scanner
Types
Enum class to describe the current state of the IDeviceScanner.
Interface definition for a callback to be invoked when an IDeviceScanner has discovered a supported Nix device.
Interface definition for a callback to be invoked when an IDeviceScanner starts or stops a search.
Properties
Current state of the IDeviceScanner.
Functions
List USB attached IDeviceCompat instances without running a Bluetooth search.
Starts a search for a specific Nix device using Bluetooth. The search will run until the specified device is found, or until a timeout elapses, whichever is shorter.
Sets a OnScannerStateChangeListener callback reference.
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.
Starts a search for a specific Nix device using Bluetooth. The search will run until the specified device is found, or until a timeout elapses, whichever is shorter. This search can alternatively be achieved without a callback by calling the coroutine function scanForHardwareId.