Package com.blukii.sdk.discovery
Klasse EddystoneData
java.lang.Object
com.blukii.sdk.discovery.EddystoneData
- Alle implementierten Schnittstellen:
android.os.Parcelable
Read only data object for Eddystone data that is emitted by beacons
See Eddystone specification at https://github.com/google/eddystone/blob/master/protocol-specification.md
EddystoneData can contain data of unencrypted EddyStone UID, URL and TLM.
EddystoneData values are part of DiscoveryData.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen android.os.Parcelable
android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T> -
Feldübersicht
FelderVon Schnittstelle geerbte Felder android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintfloatGets the time since the last beacon reset if the beacon is emitting Eddystone TLM.intGets the battery charge value if the beacon is emitting Eddystone TLM.longGets the number of frame packets since the last beacon reset if the beacon is emitting Eddystone TLM.floatGets the temperature value if the beacon is emitting Eddystone TLM.shortGets the txPower value if the beacon is emitting Eddystone TLM.Gets the Instance ID if the beacon is emitting an Eddystone UID.Gets the Namespace ID if the beacon is emitting an Eddystone UID.getUrl()Gets the url string if the beacon is emitting an Eddystone URL.voidwriteToParcel(android.os.Parcel dest, int flags)
-
Felddetails
-
CREATOR
-
-
Methodendetails
-
getUidNamespace
Gets the Namespace ID if the beacon is emitting an Eddystone UID.- Gibt zurück:
- UID Namespace ID
-
getUidInstance
Gets the Instance ID if the beacon is emitting an Eddystone UID.- Gibt zurück:
- UID Instance ID
-
getUrl
Gets the url string if the beacon is emitting an Eddystone URL.- Gibt zurück:
- Eddystone URL
-
getTxPower
public short getTxPower()Gets the txPower value if the beacon is emitting Eddystone TLM.It stands for the measured RSSI value when the distance between the beacon and the mobile device is 0 meter.
- Gibt zurück:
- TxPower in dBm, Short.MIN_VALUE if it is not supported
-
getBattery
public int getBattery()Gets the battery charge value if the beacon is emitting Eddystone TLM.- Gibt zurück:
- Battery charge in mV, 0 if the blukii has USB power, Integer.MIN_VALUE if it is not supported
-
getTemperature
public float getTemperature()Gets the temperature value if the beacon is emitting Eddystone TLM.- Gibt zurück:
- Temperature in degree Celsius (°C), Float.MIN_VALUE if it is not supported
-
getPackets
public long getPackets()Gets the number of frame packets since the last beacon reset if the beacon is emitting Eddystone TLM.- Gibt zurück:
- Number of frame packets since last reset, 0 if it is not supported
-
getActiveTime
public float getActiveTime()Gets the time since the last beacon reset if the beacon is emitting Eddystone TLM.- Gibt zurück:
- Number of seconds since last reset (0.1 second resolution), 0.0F if it is not supported
-
describeContents
public int describeContents()- Angegeben von:
describeContentsin Schnittstelleandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags) - Angegeben von:
writeToParcelin Schnittstelleandroid.os.Parcelable
-