public abstract class AbstractBluetoothDeviceEvent extends java.lang.Object implements BluetoothDeviceEvent
Modifier and Type | Field and Description |
---|---|
protected java.util.List<? extends RemoteBluetoothDevice> |
deviceList |
protected EventType |
eventType |
protected static java.lang.String |
PARCELABLE_DEVICE_LIST |
protected static java.lang.String |
PARCELABLE_EVENT_TYPE |
protected static java.lang.String |
PARCELABLE_TIMESTAMP |
protected long |
timestamp |
Modifier | Constructor and Description |
---|---|
protected |
AbstractBluetoothDeviceEvent(EventType eventType,
DeviceProfile deviceProfile,
java.util.List<? extends RemoteBluetoothDevice> deviceList,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<? extends RemoteBluetoothDevice> |
getDeviceList()
Provides device list.
|
DeviceProfile |
getDeviceProfile() |
EventType |
getEventType() |
long |
getTimestamp() |
int |
hashCode() |
protected static final java.lang.String PARCELABLE_EVENT_TYPE
protected static final java.lang.String PARCELABLE_DEVICE_LIST
protected static final java.lang.String PARCELABLE_TIMESTAMP
protected final long timestamp
protected final EventType eventType
protected java.util.List<? extends RemoteBluetoothDevice> deviceList
protected AbstractBluetoothDeviceEvent(EventType eventType, DeviceProfile deviceProfile, java.util.List<? extends RemoteBluetoothDevice> deviceList, long timestamp)
public EventType getEventType()
getEventType
in interface BluetoothDeviceEvent
public java.util.List<? extends RemoteBluetoothDevice> getDeviceList()
getDeviceList
in interface BluetoothDeviceEvent
public long getTimestamp()
getTimestamp
in interface BluetoothDeviceEvent
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public DeviceProfile getDeviceProfile()
getDeviceProfile
in interface BluetoothDeviceEvent
public int hashCode()
hashCode
in class java.lang.Object