google_api_proximity_beacon v0.7.0 GoogleApi.ProximityBeacon.V1beta1.Model.Observation View Source

Represents one beacon observed once.

Attributes

  • advertisedId (type: GoogleApi.ProximityBeacon.V1beta1.Model.AdvertisedId.t, default: nil) - The ID advertised by the beacon the client has encountered.

    If the submitted advertised_id type is Eddystone-EID, then the client must be authorized to resolve the given beacon. Otherwise no data will be returned for that beacon. Required.

  • telemetry (type: String.t, default: nil) - The array of telemetry bytes received from the beacon. The server is responsible for parsing it. This field may frequently be empty, as with a beacon that transmits telemetry only occasionally.

  • timestampMs (type: DateTime.t, default: nil) - Time when the beacon was observed.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.ProximityBeacon.V1beta1.Model.Observation{
  advertisedId: GoogleApi.ProximityBeacon.V1beta1.Model.AdvertisedId.t(),
  telemetry: String.t(),
  timestampMs: DateTime.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.