AutoApi.SeatsState.from_bin

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

Specs

from_bin(binary()) :: t()

Build state based on binary value

iex> bin = <<2, 0, 5, 1, 0, 2, 4, 1>> iex> AutoApi.SeatsState.from_bin(bin) %AutoApi.SeatsState{persons_detected: [%AutoApi.Property{data: %{location: :rear_center, detected: :detected}}]}