AutoApi.UniversalProperties (auto_api v13.2.0) View Source

Utility functions for Universal Properties.

Universal properties are properties that can be included in any State.

Link to this section Summary

Functions

Returns all universal properties

Returns all possible values for brand property

Link to this section Types

Specs

brand() ::
  :emulator
  | :volvo_cars
  | :volkswagen
  | :toyota
  | :subaru
  | :smart
  | :skoda
  | :seat
  | :renault
  | :porsche
  | :peugeot
  | :opel
  | :nissan
  | :mitsubishi
  | :mini
  | :mercedes_benz
  | :mazda
  | :man
  | :lexus
  | :land_rover
  | :lancia
  | :kia
  | :jeep
  | :jaguar
  | :iveco
  | :hyundai
  | :honda
  | :ford
  | :fiat
  | :ds
  | :dodge
  | :dacia
  | :cupra
  | :citroen
  | :chrysler
  | :chevrolet
  | :cadillac
  | :bmw
  | :audi
  | :alpine
  | :alfaromeo
  | :abarth
  | :unknown

Specs

vin() :: <<_::138>>

Link to this section Functions

Specs

all() :: [{0..255, atom()}]

Returns all universal properties

Example

iex> properties = AutoApi.UniversalProperties.all()
iex> length(properties)
5
iex> List.last(properties)
{0xA4, :brand}

Specs

brands() :: [atom()]

Returns all possible values for brand property