UAInspector v0.19.0 UAInspector.Parser.Device View Source

UAInspector device information parser.

Link to this section Summary

Functions

Parses information from a user agent

Parses the version out of a (possible) HbbTV user agent

Link to this section Functions

Parses information from a user agent.

Returns :unknown if no information is not found in the database.

iex> parse("--- undetectable ---")
:unknown

Callback implementation for UAInspector.Parser.parse/1.

Link to this function

parse_hbbtv_version(ua) View Source
parse_hbbtv_version(String.t()) :: nil | String.t()

Parses the version out of a (possible) HbbTV user agent.