Back to project page trifork-ibeacon-demo.
The source code is released under:
Apache License
If you think the Android project trifork-ibeacon-demo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.trifork.ibeacon.eventbus; /*ww w . j av a2s . c om*/ import org.altbeacon.beacon.Beacon; import java.util.ArrayList; import java.util.Calendar; import java.util.Collection; import java.util.List; public class RangeScanCompleteEvent implements OttoEvent { private final List<Beacon> beacons; private final Calendar timestamp; public RangeScanCompleteEvent(Calendar timestamp, Collection<Beacon> beacons) { this.timestamp = timestamp; this.beacons = new ArrayList<>(beacons); } public List<Beacon> getBeacons() { return beacons; } public Calendar getTimestamp() { return timestamp; } }