android.bluetooth
Class BluetoothDevice
java.lang.Object
android.bluetooth.BluetoothDevice
- All Implemented Interfaces:
- Parcelable
public final class BluetoothDevice
- extends Object
- implements Parcelable
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
ACTION_FOUND
public static final String ACTION_FOUND
- See Also:
- Constant Field Values
ACTION_CLASS_CHANGED
public static final String ACTION_CLASS_CHANGED
- See Also:
- Constant Field Values
ACTION_ACL_CONNECTED
public static final String ACTION_ACL_CONNECTED
- See Also:
- Constant Field Values
ACTION_ACL_DISCONNECT_REQUESTED
public static final String ACTION_ACL_DISCONNECT_REQUESTED
- See Also:
- Constant Field Values
ACTION_ACL_DISCONNECTED
public static final String ACTION_ACL_DISCONNECTED
- See Also:
- Constant Field Values
ACTION_NAME_CHANGED
public static final String ACTION_NAME_CHANGED
- See Also:
- Constant Field Values
ACTION_BOND_STATE_CHANGED
public static final String ACTION_BOND_STATE_CHANGED
- See Also:
- Constant Field Values
EXTRA_DEVICE
public static final String EXTRA_DEVICE
- See Also:
- Constant Field Values
EXTRA_NAME
public static final String EXTRA_NAME
- See Also:
- Constant Field Values
EXTRA_RSSI
public static final String EXTRA_RSSI
- See Also:
- Constant Field Values
EXTRA_CLASS
public static final String EXTRA_CLASS
- See Also:
- Constant Field Values
EXTRA_BOND_STATE
public static final String EXTRA_BOND_STATE
- See Also:
- Constant Field Values
EXTRA_PREVIOUS_BOND_STATE
public static final String EXTRA_PREVIOUS_BOND_STATE
- See Also:
- Constant Field Values
BOND_NONE
public static final int BOND_NONE
- See Also:
- Constant Field Values
BOND_BONDING
public static final int BOND_BONDING
- See Also:
- Constant Field Values
BOND_BONDED
public static final int BOND_BONDED
- See Also:
- Constant Field Values
CREATOR
public static final Parcelable.Creator<BluetoothDevice> CREATOR
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
describeContents
public int describeContents()
- Specified by:
describeContents
in interface Parcelable
writeToParcel
public void writeToParcel(Parcel out,
int flags)
- Specified by:
writeToParcel
in interface Parcelable
getAddress
public String getAddress()
getName
public String getName()
getBondState
public int getBondState()
getBluetoothClass
public BluetoothClass getBluetoothClass()
createRfcommSocketToServiceRecord
public BluetoothSocket createRfcommSocketToServiceRecord(UUID uuid)
throws IOException
- Throws:
IOException
createInsecureRfcommSocketToServiceRecord
public BluetoothSocket createInsecureRfcommSocketToServiceRecord(UUID uuid)
throws IOException
- Throws:
IOException
Copyright © 2008-2012. All Rights Reserved.