public class IBeaconDeviceEvent extends AbstractBluetoothDeviceEvent
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<IBeaconDeviceEvent> |
CREATOR
The Parcelable constant CREATOR.
|
| Constructor and Description |
|---|
IBeaconDeviceEvent(EventType eventType,
IBeaconRegion iBeaconRegion,
java.util.List<IBeaconDevice> iBeaconDeviceList)
Instantiates a new iBeacon device event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
java.util.List<IBeaconDevice> |
getDeviceList()
Provides device list.
|
IBeaconRegion |
getRegion()
Gets iBeacon region.
|
static IBeaconDeviceEvent |
of(IBeaconDeviceEvent event,
java.util.List<IBeaconDevice> devices)
Creates IBeaconDeviceEvent from other event with provided list of devices
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
equals, getDeviceProfile, getEventType, getTimestamp, hashCodepublic static final android.os.Parcelable.Creator<IBeaconDeviceEvent> CREATOR
public IBeaconDeviceEvent(EventType eventType, IBeaconRegion iBeaconRegion, java.util.List<IBeaconDevice> iBeaconDeviceList)
eventType - the event typeiBeaconRegion - the iBeaconRegioniBeaconDeviceList - the iBeacon device listpublic static IBeaconDeviceEvent of(IBeaconDeviceEvent event, java.util.List<IBeaconDevice> devices)
event - the eventdevices - the devicespublic java.util.List<IBeaconDevice> getDeviceList()
AbstractBluetoothDeviceEventgetDeviceList in interface BluetoothDeviceEventgetDeviceList in class AbstractBluetoothDeviceEventpublic IBeaconRegion getRegion()
public int describeContents()
public void writeToParcel(android.os.Parcel dest,
int flags)