FileDocCategorySizeDatePackage
InquiryResult.javaAPI DocphoneME MR2 API (J2ME)1996Wed May 02 18:00:30 BST 2007com.sun.midp.jsr082.bluetooth

InquiryResult

public class InquiryResult extends Object
Inquiry result record.

Fields Summary
private String
address
Bluetooth address of a discovered device.
private javax.bluetooth.DeviceClass
deviceClass
Class of a discovered device.
Constructors Summary
public InquiryResult(String addr, int cod)
Class constructor.

param
addr Bluetooth address of a discovered device
param
cod class of a discovered device

        address = addr;
        deviceClass = new DeviceClass(cod);
    
Methods Summary
public java.lang.StringgetAddress()
Returns Bluetooth address of the remote device.

return
Bluetooth address of the remote device

        return address;
    
public javax.bluetooth.DeviceClassgetDeviceClass()
Returns class of the remote device.

return
class of the device

        return deviceClass;