public final class IBeaconDeviceEvent extends AbstractBluetoothDeviceEvent<IBeaconDevice>
IBeaconScanContext
has been included to the global ScanContext
and the ProximityManager scans within this global Scan Context.Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<IBeaconDeviceEvent> |
CREATOR
The Parcelable constant CREATOR.
|
deviceList, eventType, PARCELABLE_DEVICE_LIST, PARCELABLE_EVENT_TYPE, PARCELABLE_TIMESTAMP, timestamp
Constructor and Description |
---|
IBeaconDeviceEvent(EventType eventType,
IBeaconRegion region)
Instantiates a new iBeacon device event.
|
IBeaconDeviceEvent(EventType eventType,
IBeaconRegion region,
java.util.ArrayList<IBeaconDevice> iBeaconDeviceList)
Instantiates a new iBeacon device event.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
IBeaconRegion |
getRegion()
Gets iBeacon region.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
equals, getDeviceList, getDeviceProfile, getEventType, getTimestamp, hashCode
public static final android.os.Parcelable.Creator<IBeaconDeviceEvent> CREATOR
public IBeaconDeviceEvent(EventType eventType, IBeaconRegion region)
eventType
- the event typeregion
- the regionpublic IBeaconDeviceEvent(EventType eventType, IBeaconRegion region, java.util.ArrayList<IBeaconDevice> iBeaconDeviceList)
eventType
- the event typeregion
- the regioniBeaconDeviceList
- the iBeacon device listpublic IBeaconRegion getRegion()
public int describeContents()
public void writeToParcel(android.os.Parcel dest, int flags)