Interface MultiDeviceSearch.SearchCallbacks

Enclosing class:
MultiDeviceSearch

public static interface MultiDeviceSearch.SearchCallbacks
Callback interface for receiving search results and status
  • Method Details

    • onSearchStarted

      void onSearchStarted(MultiDeviceSearch.RssiSupport supportsRssi)
      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

      void onDeviceFound(MultiDeviceSearch.MultiDeviceSearchResult device)
      Indicates that a new device was discovered.
      Parameters:
      device - Information about the newly discovered device.
    • onSearchStopped

      void onSearchStopped(RequestAccessResult reason)
      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.