javax.bluetooth
Class DiscoveryAgent
java.lang.Object
javax.bluetooth.DiscoveryAgent
public class DiscoveryAgent
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOT_DISCOVERABLE
public static final int NOT_DISCOVERABLE
- See Also:
- Constant Field Values
GIAC
public static final int GIAC
- See Also:
- Constant Field Values
LIAC
public static final int LIAC
- See Also:
- Constant Field Values
CACHED
public static final int CACHED
- See Also:
- Constant Field Values
PREKNOWN
public static final int PREKNOWN
- See Also:
- Constant Field Values
DiscoveryAgent
public DiscoveryAgent()
retrieveDevices
public RemoteDevice[] retrieveDevices(int option)
startInquiry
public boolean startInquiry(int accessCode,
DiscoveryListener listener)
throws BluetoothStateException
- Throws:
BluetoothStateException
cancelInquiry
public boolean cancelInquiry(DiscoveryListener listener)
searchServices
public int searchServices(int[] attrSet,
UUID[] uuidSet,
RemoteDevice btDev,
DiscoveryListener discListener)
throws BluetoothStateException
- Throws:
BluetoothStateException
cancelServiceSearch
public boolean cancelServiceSearch(int transID)
selectService
public String selectService(UUID uuid,
int security,
boolean master)
throws BluetoothStateException
- Throws:
BluetoothStateException
Copyright © 2006-2007 Jayway AB. All Rights Reserved.