コード例 #1
0
 /**
  * Perform a SDP query on the remote device to get the UUIDs supported. This API is asynchronous
  * and an Intent is sent, with the UUIDs supported by the remote end. If there is an error in
  * getting the SDP records or if the process takes a long time, an Intent is sent with the UUIDs
  * that is currently present in the cache. Clients should use the {@link #getUuids} to get UUIDs
  * is SDP is not to be performed.
  *
  * @return False if the sanity check fails, True if the process of initiating an ACL connection to
  *     the remote device was started.
  * @hide
  */
 public boolean fetchUuidsWithSdp() {
   try {
     return sService.fetchRemoteUuids(mAddress, null, null);
   } catch (RemoteException e) {
     Log.e(TAG, "", e);
   }
   return false;
 }