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, setReadableName
public BlaubotBluetoothDevice(java.lang.String uniqueDeviceId, BluetoothDevice androidBluetoothDevice)
public BluetoothSocket createInsecureRfcommSocketToServiceRecord(java.util.UUID uuid) throws java.io.IOException
java.io.IOException
public BluetoothSocket createRfcommSocketToServiceRecord(java.util.UUID uuid) throws java.io.IOException
java.io.IOException
public int describeContents()
public boolean equals(java.lang.Object o)
equals
in class BlaubotDevice
public 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 BlaubotDevice
public java.lang.String toString()
toString
in class BlaubotDevice
public void writeToParcel(Parcel out, int flags)
public java.lang.String getReadableName()
getReadableName
in interface IBlaubotDevice
getReadableName
in class BlaubotDevice
public int compareTo(IBlaubotDevice another)
compareTo
in interface java.lang.Comparable<IBlaubotDevice>
compareTo
in class BlaubotDevice