public class ProximityKitBeaconRegion extends Region
CREATOR, mIdentifiers, mUniqueId
Constructor and Description |
---|
ProximityKitBeaconRegion(Region region,
KitBeacon beacon) |
Modifier and Type | Method and Description |
---|---|
static ProximityKitBeaconRegion |
bestMatch(List kitBeacons,
Region region)
Creates a region matching the provided beacons.
|
Map |
getAttributes() |
String |
getName() |
clone, describeContents, equals, getId1, getId2, getId3, getIdentifier, getUniqueId, hashCode, matchesBeacon, toString, writeToParcel
public static ProximityKitBeaconRegion bestMatch(List kitBeacons, Region region)
KitBeacon
that is the most specific match for the passed region,
and uses it to make a ProximityKitBeaconRegion
. If no match is found,
a ProximityKitBeaconRegion
is made that is not mapped to an underlying
KitBeacon
from the kit.kitBeacons
- beacons in the kitregion
- region to matchProximityKitBeaconRegion
matching the provided kitspublic String getName()
public Map getAttributes()