it.gerdavax.android.bluetooth
Interface BluetoothDevice

All Known Subinterfaces:
RemoteBluetoothDevice
All Known Implementing Classes:
LocalBluetoothDevice

public interface BluetoothDevice

This interface define common methods and Bluetooth constants for local and remote Bluetooth devices.

Since:
0.2
Author:
Stefano Sanna - gerdavax@gmail.com - http://www.gerdavax.it

Nested Class Summary
static class BluetoothDevice.BluetoothClasses
           
static class BluetoothDevice.BluetoothProfiles
           
static class BluetoothDevice.BluetoothProtocols
           
 
Method Summary
 java.lang.String getAddress()
          Gets the BD Address of this device.
 java.lang.String getName()
          Gets the friendly name associated to this Bluetooth device.
 

Method Detail

getName

java.lang.String getName()
                         throws BluetoothException
Gets the friendly name associated to this Bluetooth device. For remote devices, friendly name could be not immediately retrieved by the Bluetooth service when the remote device is discovered

Returns:
the friendly name of the device
Throws:
BluetoothException
Since:
0.2

getAddress

java.lang.String getAddress()
                            throws BluetoothException
Gets the BD Address of this device.

Returns:
the BD Address
Throws:
BluetoothException
Since:
0.2