FileDocCategorySizeDatePackage
DiscoveryAgent.javaAPI DocphoneME MR2 API (J2ME)3317Wed May 02 18:00:30 BST 2007javax.bluetooth

DiscoveryAgent

public 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 booleancancelInquiry(DiscoveryListener listener)

        return discoveryAgentImpl.cancelInquiry(listener);
    
public booleancancelServiceSearch(int transID)

        return discoveryAgentImpl.cancelServiceSearch(transID);
    
public RemoteDevice[]retrieveDevices(int option)

        return discoveryAgentImpl.retrieveDevices(option);
    
public intsearchServices(int[] attrSet, UUID[] uuidSet, RemoteDevice btDev, DiscoveryListener discListener)

        return discoveryAgentImpl.searchServices(attrSet, uuidSet, btDev,
                discListener);
    
public java.lang.StringselectService(UUID uuid, int security, boolean master)

        return discoveryAgentImpl.selectService(uuid, security, master);
    
public booleanstartInquiry(int accessCode, DiscoveryListener listener)

        return discoveryAgentImpl.startInquiry(accessCode, listener);