public class ScanDevice
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ScanDevice> |
CREATOR |
| Modifier | Constructor and Description |
|---|---|
|
ScanDevice(android.bluetooth.BluetoothDevice device,
int rssi,
byte[] scanRecord) |
protected |
ScanDevice(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
java.lang.String |
getAddress() |
android.bluetooth.BluetoothDevice |
getBluetoothDevice() |
java.lang.String |
getName() |
int |
getRssi() |
ScanRecord |
getScanRecord() |
byte[] |
getScanRecordRaw() |
void |
setDevice(android.bluetooth.BluetoothDevice device) |
void |
setRssi(int rssi) |
void |
setScanRecord(byte[] scanRecord) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<ScanDevice> CREATOR
public ScanDevice(android.bluetooth.BluetoothDevice device,
int rssi,
byte[] scanRecord)
protected ScanDevice(android.os.Parcel in)
public android.bluetooth.BluetoothDevice getBluetoothDevice()
public void setDevice(android.bluetooth.BluetoothDevice device)
public java.lang.String getName()
public java.lang.String getAddress()
public byte[] getScanRecordRaw()
public ScanRecord getScanRecord()
public void setScanRecord(byte[] scanRecord)
public int getRssi()
public void setRssi(int rssi)
public void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic int describeContents()
describeContents in interface android.os.Parcelable