NameResultEventpublic class NameResultEvent extends BluetoothEvent Remote device's friendly name retrieval event. |
Fields Summary |
---|
private String | deviceAddrBluetooth address of the device. | private String | deviceNameFriendly name of the device. |
Constructors Summary |
---|
public NameResultEvent(String addr, String name)Creates this event.
deviceAddr = addr;
deviceName = name;
|
Methods Summary |
---|
public void | dispatch()Processes this event immediately.
BluetoothStack.getInstance().onNameRetrieve(deviceAddr, deviceName);
| public void | process()Processes this event. Empty, since the processing was done in dispatch().
|
|