public static interface AsyncScanController.IAsyncScanResultReceiver
Modifier and Type | Method and Description |
---|---|
void |
onSearchResult(AsyncScanController.AsyncScanResultDeviceInfo deviceFound)
Returns every device found by the scan.
|
void |
onSearchStopped(RequestAccessResult reasonStopped)
Called when the async scan is stopped for any reason other than a successful access request,
for example: an error starting the scan, an error running the scan, or a fatal error attempting to connect to a device.
|
void onSearchStopped(RequestAccessResult reasonStopped)
reasonStopped
- The reason the search stopped. Possible returns include:
void onSearchResult(AsyncScanController.AsyncScanResultDeviceInfo deviceFound)
AsyncScanController.AsyncScanResultDeviceInfo.getAntDeviceNumber()
deviceFound
- The new device found by the scan.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.