Klasse EddystoneData

java.lang.Object
com.blukii.sdk.discovery.EddystoneData
Alle implementierten Schnittstellen:
android.os.Parcelable

public final class EddystoneData extends Object implements 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

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final android.os.Parcelable.Creator<EddystoneData>
     

    Von Schnittstelle geerbte Felder android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
     
    float
    Gets the time since the last beacon reset if the beacon is emitting Eddystone TLM.
    int
    Gets the battery charge value if the beacon is emitting Eddystone TLM.
    long
    Gets the number of frame packets since the last beacon reset if the beacon is emitting Eddystone TLM.
    float
    Gets the temperature value if the beacon is emitting Eddystone TLM.
    short
    Gets 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.
    Gets the url string if the beacon is emitting an Eddystone URL.
    void
    writeToParcel(android.os.Parcel dest, int flags)
     

    Von Klasse geerbte Methoden java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • CREATOR

      public static final android.os.Parcelable.Creator<EddystoneData> CREATOR
  • Methodendetails

    • getUidNamespace

      public String getUidNamespace()
      Gets the Namespace ID if the beacon is emitting an Eddystone UID.
      Gibt zurück:
      UID Namespace ID
    • getUidInstance

      public String getUidInstance()
      Gets the Instance ID if the beacon is emitting an Eddystone UID.
      Gibt zurück:
      UID Instance ID
    • getUrl

      public String 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:
      describeContents in Schnittstelle android.os.Parcelable
    • writeToParcel

      public void writeToParcel(android.os.Parcel dest, int flags)
      Angegeben von:
      writeToParcel in Schnittstelle android.os.Parcelable