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

NameResultEvent

public class NameResultEvent extends BluetoothEvent
Remote device's friendly name retrieval event.

Fields Summary
private String
deviceAddr
Bluetooth address of the device.
private String
deviceName
Friendly name of the device.
Constructors Summary
public NameResultEvent(String addr, String name)
Creates this event.

param
addr Bluetooth address of the device
param
name friendly name of the device

        deviceAddr = addr;
        deviceName = name;
    
Methods Summary
public voiddispatch()
Processes this event immediately.

        BluetoothStack.getInstance().onNameRetrieve(deviceAddr, deviceName);
    
public voidprocess()
Processes this event. Empty, since the processing was done in dispatch().