struct

DeviceDetector::Parser::MobileApp

Inherits DeviceDetector::Helper < Struct < Value < Object

Constants

MOBILE_APP_HINTS = /Mobile|Mobi|Android|iPhone|iPad|iPod|Windows Phone|CFNetwork|Darwin|FBAN|FBAV|WhatsApp|Instagram|Telegram|Twitter|Line\//i

Constructors

new(user_agent : String)
Source

Class methods

prepare

Compiles all mobile-app 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
mobile_apps
Source
overall_regex
Source

Nested types