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.

JSR 82

javax.bluetooth
Interface DiscoveryListener


public interface DiscoveryListener

This interface is defined by the JSR-82 specification Java™ APIs for Bluetooth™ Wireless Technology, Version 1.1.


Field Summary
static int INQUIRY_COMPLETED
           
static int INQUIRY_ERROR
           
static int INQUIRY_TERMINATED
           
static int SERVICE_SEARCH_COMPLETED
           
static int SERVICE_SEARCH_DEVICE_NOT_REACHABLE
           
static int SERVICE_SEARCH_ERROR
           
static int SERVICE_SEARCH_NO_RECORDS
           
static int SERVICE_SEARCH_TERMINATED
           
 
Method Summary
 void deviceDiscovered(RemoteDevice btDevice, DeviceClass cod)
           
 void inquiryCompleted(int discType)
           
 void servicesDiscovered(int transID, ServiceRecord[] servRecord)
           
 void serviceSearchCompleted(int transID, int respCode)
           
 

Field Detail

INQUIRY_COMPLETED

static final int INQUIRY_COMPLETED
See Also:
Constant Field Values

INQUIRY_TERMINATED

static final int INQUIRY_TERMINATED
See Also:
Constant Field Values

INQUIRY_ERROR

static final int INQUIRY_ERROR
See Also:
Constant Field Values

SERVICE_SEARCH_COMPLETED

static final int SERVICE_SEARCH_COMPLETED
See Also:
Constant Field Values

SERVICE_SEARCH_TERMINATED

static final int SERVICE_SEARCH_TERMINATED
See Also:
Constant Field Values

SERVICE_SEARCH_ERROR

static final int SERVICE_SEARCH_ERROR
See Also:
Constant Field Values

SERVICE_SEARCH_NO_RECORDS

static final int SERVICE_SEARCH_NO_RECORDS
See Also:
Constant Field Values

SERVICE_SEARCH_DEVICE_NOT_REACHABLE

static final int SERVICE_SEARCH_DEVICE_NOT_REACHABLE
See Also:
Constant Field Values
Method Detail

deviceDiscovered

void deviceDiscovered(RemoteDevice btDevice,
                      DeviceClass cod)

servicesDiscovered

void servicesDiscovered(int transID,
                        ServiceRecord[] servRecord)

serviceSearchCompleted

void serviceSearchCompleted(int transID,
                            int respCode)

inquiryCompleted

void inquiryCompleted(int discType)

JSR 82

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.