Package 

Class EddystoneTelemetryAccessor


  • 
    public class EddystoneTelemetryAccessor
    
                        

    Utility class for working beacons that include Eddystone-TLM (telemetry) information Created by dyoung on 12/21/15.

    • Method Summary

      Modifier and Type Method Description
      Array<byte> getTelemetryBytes(Beacon beacon) Extracts the raw Eddystone telemetry bytes from the extra data fields of an associated beacon.
      String getBase64EncodedTelemetry(Beacon beacon) Extracts the raw Eddystone telemetry bytes from the extra data fields of an associated beacon and base64 encodes them.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTelemetryBytes

         Array<byte> getTelemetryBytes(Beacon beacon)

        Extracts the raw Eddystone telemetry bytes from the extra data fields of an associated beacon. This is useful for passing the telemetry to Google's backend services.

      • getBase64EncodedTelemetry

         String getBase64EncodedTelemetry(Beacon beacon)

        Extracts the raw Eddystone telemetry bytes from the extra data fields of an associated beacon and base64 encodes them. This is useful for passing the telemetry to Google's backend services.