AutoApi.HeartRateState.from_bin

You're seeing just the function from_bin, go back to AutoApi.HeartRateState module for more information.

Specs

from_bin(binary()) :: t()

Build state based on binary value

iex> AutoApi.HeartRateState.from_bin(<<1, 13::integer-16, 1, 0, 10, 14, 8, 64, 84, 0, 0, 0, 0, 0, 0>>) %AutoApi.HeartRateState{heart_rate: %AutoApi.Property{data: %{value: 80.0, unit: :times_per_minute}}}