struct DeviceDetector::Parser::Television

Included Modules

Defined in:

device_detector/parser/television.cr

Constant Summary

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

Constructors

Instance Method Summary

Instance methods inherited from module DeviceDetector::Helper

capture_groups?(str : String) capture_groups?, desktop?(user_agent : String) desktop?, fill_groups(str : String, regex : String, user_agent : String) fill_groups, human_browser?(user_agent : String) human_browser?, regex(pattern : String, options : Regex::Options)
regex(pattern : String)
regex
, token_candidates(index : Hash(String, Array(Int32)), user_agent : String, reverse = false) token_candidates

Constructor Detail

def self.new(user_agent : String) #

[View source]

Instance Method Detail

def call #

[View source]
def kind : String #

[View source]
def overall_regex #

[View source]
def tvs #

[View source]