public class ServiceRecordsFinder extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
ServiceRecordsFinder.ServicesDiscoveryListener |
| Constructor and Description |
|---|
ServiceRecordsFinder(int maximumNumberOfTryToConnect,
Object lock) |
| Modifier and Type | Method and Description |
|---|---|
List<javax.bluetooth.ServiceRecord> |
findServices(javax.bluetooth.LocalDevice localDevice,
javax.bluetooth.RemoteDevice device,
int serviceIndex) |
protected String |
getServiceName(javax.bluetooth.ServiceRecord serviceRecord) |
public ServiceRecordsFinder(int maximumNumberOfTryToConnect,
Object lock)
public List<javax.bluetooth.ServiceRecord> findServices(javax.bluetooth.LocalDevice localDevice, javax.bluetooth.RemoteDevice device, int serviceIndex) throws InterruptedException, javax.bluetooth.BluetoothStateException
InterruptedExceptionjavax.bluetooth.BluetoothStateExceptionprotected String getServiceName(javax.bluetooth.ServiceRecord serviceRecord)
Copyright © 2012–2015 Ifremer. All rights reserved.