Home | History | Annotate | Download | only in bluetooth

Lines Matching defs:BluetoothDevice

34  * Represents a remote Bluetooth device. A {@link BluetoothDevice} lets you
42 * BluetoothDevice}.
44 * <p>To get a {@link BluetoothDevice}, use
66 public final class BluetoothDevice implements Parcelable {
67 private static final String TAG = "BluetoothDevice";
73 * <p><code>Intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
74 * BluetoothDevice.ERROR)</code>
176 * Used as a Parcelable {@link BluetoothDevice} extra field in every intent
177 * broadcast by this class. It contains the {@link BluetoothDevice} that
472 synchronized (BluetoothDevice.class) {
485 * Create a new BluetoothDevice
493 /*package*/ BluetoothDevice(String address) {
504 if (o instanceof BluetoothDevice) {
505 return mAddress.equals(((BluetoothDevice)o).getAddress());
516 * Returns a string representation of this BluetoothDevice.
521 * @return string representation of this BluetoothDevice
532 public static final Parcelable.Creator<BluetoothDevice> CREATOR =
533 new Parcelable.Creator<BluetoothDevice>() {
534 public BluetoothDevice createFromParcel(Parcel in) {
535 return new BluetoothDevice(in.readString());
537 public BluetoothDevice[] newArray(int size) {
538 return new BluetoothDevice[size];
547 * Returns the hardware address of this BluetoothDevice.
823 return BluetoothDevice.ERROR;