public class BlaubotBluetoothDevice extends BlaubotDevice
BluetoothDevice objects only for the bluetooth beacon.readableName, uniqueDeviceId| Constructor and Description |
|---|
BlaubotBluetoothDevice(java.lang.String uniqueDeviceId,
BluetoothDevice androidBluetoothDevice) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IBlaubotDevice another) |
BluetoothSocket |
createInsecureRfcommSocketToServiceRecord(java.util.UUID uuid) |
BluetoothSocket |
createRfcommSocketToServiceRecord(java.util.UUID uuid) |
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
boolean |
fetchUuidsWithSdp() |
java.lang.String |
getAddress() |
BluetoothClass |
getBluetoothClass() |
int |
getBondState() |
java.lang.String |
getName() |
java.lang.String |
getReadableName() |
ParcelUuid[] |
getUuids() |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(Parcel out,
int flags) |
getUniqueDeviceID, setReadableNamepublic BlaubotBluetoothDevice(java.lang.String uniqueDeviceId,
BluetoothDevice androidBluetoothDevice)
public BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.util.UUID uuid)
throws java.io.IOException
java.io.IOExceptionpublic BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID uuid)
throws java.io.IOException
java.io.IOExceptionpublic int describeContents()
public boolean equals(java.lang.Object o)
equals in class BlaubotDevicepublic boolean fetchUuidsWithSdp()
public java.lang.String getAddress()
public BluetoothClass getBluetoothClass()
public int getBondState()
public java.lang.String getName()
public ParcelUuid[] getUuids()
public int hashCode()
hashCode in class BlaubotDevicepublic java.lang.String toString()
toString in class BlaubotDevicepublic void writeToParcel(Parcel out,
int flags)
public java.lang.String getReadableName()
getReadableName in interface IBlaubotDevicegetReadableName in class BlaubotDevicepublic int compareTo(IBlaubotDevice another)
compareTo in interface java.lang.Comparable<IBlaubotDevice>compareTo in class BlaubotDevice