public class ProximityKitBeaconRegion extends Region
Parcelable.ClassLoaderCreator, Parcelable.CreatorCREATOR, mBluetoothAddress, mIdentifiers, mUniqueIdCONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
ProximityKitBeaconRegion(Region region,
KitBeacon beacon)
Create a new Proximity Kit beacon region.
|
| Modifier and Type | Method and Description |
|---|---|
static ProximityKitBeaconRegion |
bestMatch(List kitBeacons,
Region region)
Creates a region matching the provided beacons.
|
Map |
getAttributes() |
List |
getIdentifiers()
Returns the list of identifiers represented by this region.
|
String |
getName() |
clone, describeContents, equals, getBluetoothAddress, getId1, getId2, getId3, getIdentifier, getUniqueId, hashCode, matchesBeacon, toString, writeToParcelpublic ProximityKitBeaconRegion(Region region, KitBeacon beacon)
region - Underlying raw region scanning criteria composing this region.beacon - The associated kit defined beacon region downloaded from the Proximity Kit cloud.NullPointerException - When either region or beacon are null.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 kitsNullPointerException - When either kitBeacons or region are null.public List getIdentifiers()
null. A null for an identifier is a wild
card. This affects how matching of beacons works - a wild card will match any beacon which
has any identifier in that position.Identifiers represented by this region.public String getName()
public Map getAttributes()