public class ProximityKitBeacon extends Beacon
Beacon.Builder
Parcelable.ClassLoaderCreator, Parcelable.Creator
beaconDataFactory, CREATOR, mBeaconTypeCode, mBluetoothAddress, mBluetoothName, mDataFields, mDistance, mExtraDataFields, mIdentifiers, mManufacturer, mMultiFrameBeacon, mParserIdentifier, mRssi, mServiceUuid, mTxPower, sDistanceCalculator, sHardwareEqualityEnforced
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
ProximityKitBeacon(Beacon beacon,
KitBeacon kitBeacon)
Create a new Proximity Kit beacon
Not for public use.
|
Modifier and Type | Method and Description |
---|---|
Map |
getAttributes()
Meta data attributes defined for the beacon on the Proximity Kit server.
|
Integer |
getBatteryLevel()
Advertised remaining battery level, as a percentage, for the beacon.
|
String |
getName()
Name of the beacon as configured on the Proximity Kit server
|
calculateDistance, describeContents, equals, getBeaconTypeCode, getBluetoothAddress, getBluetoothName, getDataFields, getDistance, getDistanceCalculator, getExtraDataFields, getHardwareEqualityEnforced, getId1, getId2, getId3, getIdentifier, getIdentifiers, getManufacturer, getMeasurementCount, getPacketCount, getParserIdentifier, getRssi, getRunningAverageRssi, getRunningAverageRssi, getServiceUuid, getTxPower, hashCode, isExtraBeaconData, isMultiFrameBeacon, requestData, setDistanceCalculator, setExtraDataFields, setHardwareEqualityEnforced, setPacketCount, setRssi, setRssiMeasurementCount, setRunningAverageRssi, toString, writeToParcel
public String getName()
null
public Map getAttributes()
Map
of key-value attributes; if no meta data attributes are defined the map
will be empty.public Integer getBatteryLevel()
null
if the level cannot be determined