struct DeviceDetector::Parser::MobileApp

Included Modules

Defined in:

device_detector/parser/mobile_app.cr

Constant Summary

MOBILE_APP_HINTS = /Mobile|Mobi|Android|iPhone|iPad|iPod|Windows Phone|CFNetwork|Darwin|FBAN|FBAV|WhatsApp|Instagram|Telegram|Twitter|Line\//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 mobile_apps #

[View source]
def overall_regex #

[View source]