Package com.dsi.ant.plugins.antplus.pcc
Interface MultiDeviceSearch.SearchCallbacks
- Enclosing class:
- MultiDeviceSearch
public static interface MultiDeviceSearch.SearchCallbacks
Callback interface for receiving search results and status
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Indicates that a new device was discovered.void
onSearchStarted
(MultiDeviceSearch.RssiSupport supportsRssi) Indicates that the search channel has been acquired and the client will start receiving results.void
onSearchStopped
(RequestAccessResult reason) Indicates that the search has stopped, or was unable to start, and no more results will be received.
-
Method Details
-
onSearchStarted
Indicates that the search channel has been acquired and the client will start receiving results.- Parameters:
supportsRssi
- Whether the client will receive rssi events or not.
-
onDeviceFound
Indicates that a new device was discovered.- Parameters:
device
- Information about the newly discovered device.
-
onSearchStopped
Indicates that the search has stopped, or was unable to start, and no more results will be received.- Parameters:
reason
- Indicates why the search could not start or was stopped.
-