RemoteDevice
- the remote device type parameterpublic abstract class AbstractBluetoothDeviceEvent<RemoteDevice extends android.os.Parcelable> extends java.lang.Object implements BluetoothDeviceEvent
Modifier and Type | Field and Description |
---|---|
protected java.util.List<RemoteDevice> |
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<RemoteDevice> deviceList,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<RemoteDevice> |
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 java.util.List<RemoteDevice extends android.os.Parcelable> deviceList
protected final EventType eventType
protected AbstractBluetoothDeviceEvent(EventType eventType, DeviceProfile deviceProfile, java.util.List<RemoteDevice> deviceList, long timestamp)
public EventType getEventType()
getEventType
in interface BluetoothDeviceEvent
public java.util.List<RemoteDevice> getDeviceList()
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