Copyright © 2014 by mTLD Top Level Domain Limited. All rights reserved.
Portions copyright © 2008 by Argo Interactive Limited.
Portions copyright © 2008 by Nokia Inc.
Portions copyright © 2008 by Telecom Italia Mobile S.p.A.
Portions copyright © 2008 by Volantis Systems Limited.
Portions copyright © 2002-2008 by Andreas Staeding.
Portions copyright © 2008 by Zandan.
dotMobi
To check the Accept-Language header and include properties to the property set for getting client's language and locale preferences set to true. If you do not use this properties you can set this config to false to make the detection marginally faster.
To include the matched and unmatched parts of the User-Agent to the property set.
To disable or enable Mobi::Mtld::Da::Device::DeviceApi#properties including User-Agent dynamic properties. Some properties cannot be known before runtime and can change from User-Agent to User-Agent. The most common of these are the OS Version and the Browser Version. The DeviceApi is able to dynamically detect these changing properties with a small overhead. If you do not use this properties you can set this config to false to make the detection a little bit faster.
The default config value for Mobi::Mtld::Da::Device::DeviceApi#properties when there are no properties. true = if we want to return nil when there are no properties, false = if we want to return an instance of Properties without Property in
# File ../../device_api/trunk/ruby/src/lib/settings.rb, line 48 def initialize # Settings default values @cookie_name = "DAPROPS" @include_ua_props = true @include_lang_props = true @include_match_info = false @return_nil_when_no_properties = false end