DiscoveryAgentpublic class DiscoveryAgent extends Object This class is defined by the JSR-82 specification
Java™ APIs for Bluetooth™ Wireless Technology,
Version 1.1. |
Fields Summary |
---|
public static final int | NOT_DISCOVERABLE | public static final int | GIAC | public static final int | LIAC | public static final int | CACHED | public static final int | PREKNOWN | private com.sun.kvem.jsr082.bluetooth.DiscoveryAgentImpl | discoveryAgentImpl |
Constructors Summary |
---|
DiscoveryAgent()
// JAVADOC COMMENT ELIDED
discoveryAgentImpl = DiscoveryAgentImpl.getInstance();
|
Methods Summary |
---|
public boolean | cancelInquiry(DiscoveryListener listener)
return discoveryAgentImpl.cancelInquiry(listener);
| public boolean | cancelServiceSearch(int transID)
return discoveryAgentImpl.cancelServiceSearch(transID);
| public RemoteDevice[] | retrieveDevices(int option)
return discoveryAgentImpl.retrieveDevices(option);
| public int | searchServices(int[] attrSet, UUID[] uuidSet, RemoteDevice btDev, DiscoveryListener discListener)
return discoveryAgentImpl.searchServices(attrSet, uuidSet, btDev,
discListener);
| public java.lang.String | selectService(UUID uuid, int security, boolean master)
return discoveryAgentImpl.selectService(uuid, security, master);
| public boolean | startInquiry(int accessCode, DiscoveryListener listener)
return discoveryAgentImpl.startInquiry(accessCode, listener);
|
|