public class IBeaconDeviceEvent extends AbstractBluetoothDeviceEvent
IBeaconScanContext
 has been included to the global ScanContext
 and the ProximityManager scans within this global Scan Context.| Modifier and Type | Field and Description | 
|---|---|
| static <any> | CREATORThe Parcelable constant CREATOR. | 
deviceList, eventType, PARCELABLE_DEVICE_LIST, PARCELABLE_EVENT_TYPE, PARCELABLE_TIMESTAMP, timestamp| Constructor and Description | 
|---|
| IBeaconDeviceEvent(EventType eventType,
                  BeaconRegion iBeaconRegion)Instantiates a new iBeacon device event. | 
| IBeaconDeviceEvent(EventType eventType,
                  IBeaconRegion iBeaconRegion,
                  java.util.List<IBeaconDevice> iBeaconDeviceList)Instantiates a new iBeacon device event. | 
| Modifier and Type | Method and Description | 
|---|---|
| static IBeaconDeviceEvent | createNewDiscovered(IBeaconDevice device,
                   IBeaconRegion region,
                   long timestamp)Creates IBeaconDeviceEvent from resolved  IBeaconDeviceandIBeaconRegion | 
| int | describeContents() | 
| java.util.List<IBeaconDevice> | getDeviceList() | 
| 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(Parcel dest,
             int flags) | 
equals, getDeviceProfile, getEventType, getTimestamp, hashCodepublic IBeaconDeviceEvent(EventType eventType, BeaconRegion iBeaconRegion)
eventType - the event typeiBeaconRegion - the iBeaconRegionpublic 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 static IBeaconDeviceEvent createNewDiscovered(IBeaconDevice device, IBeaconRegion region, long timestamp)
IBeaconDevice and IBeaconRegiondevice - the real deviceregion - the regiontimestamp - the timestamppublic java.util.List<IBeaconDevice> getDeviceList()
getDeviceList in interface BluetoothDeviceEventgetDeviceList in class AbstractBluetoothDeviceEventpublic IBeaconRegion getRegion()
public int describeContents()
public void writeToParcel(Parcel dest,
                          int flags)