Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.
Copyright © 2006 Sun Microsystems, Inc. All rights reserved.
javax.bluetooth
Class DiscoveryAgent
java.lang.Object
javax.bluetooth.DiscoveryAgent
public class DiscoveryAgent
- extends java.lang.Object
This class is defined by the JSR-82 specification
Java™ APIs for Bluetooth™ Wireless Technology,
Version 1.1.
Methods inherited from class java.lang.Object |
equals, 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
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 java.lang.String selectService(UUID uuid,
int security,
boolean master)
throws BluetoothStateException
- Throws:
BluetoothStateException
Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.
For more information, please consult the JSR 82 specification.