struct

DeviceDetector::Parser::Television

Inherits DeviceDetector::Helper < Struct < Value < Object

Constants

TV_HINTS = /TV|HbbTV|SmartTV|NetCast|Web0S|Tizen|BRAVIA|AFT|Roku|CrKey|AppleTV|GoogleTV|Aquos|Viera|DTV/i

Constructors

new(user_agent : String)
Source

Class methods

prepare

Compiles all television rules into the shared immutable registry.

Source
regex_patterns

Returns the regular-expression sources used by this parser.

Source

Instance methods

call
Source
kind
Source
overall_regex
Source

Nested types