Documentation

Device

Table of Contents

Namespaces

CacheProvider

Interfaces

Cache
Cache interface for the DeviceAtlas APIs.
DynamicValueExtractor
Input

Classes

AcceptLanguageParser
Parses the Accept-Language header.
AdditionalActions
Model of an additional action.
AdditionalActionsRunner
Refines the detected components using any detected additional actions.
BasicInput
Represents a single entry in the data file "i" (inputs) node.
CacheService
Manages interactions with the cache layer.
ClientSideParser
ComparisonProperty
Model of a component's Client-side rule's comparison property in the trie.
ComparisonTransformer
Represents a "ct" node (comparison transformation) within a "pm" (property mappings) node. Compares the input value using a defined operator and comparison value.
Component
Represents a set of property/value pairs. A Component is retrieved from a MatchCandidate during the token Trie walk. The component's weight is used to determine whether a component should override an already found component.
ComponentDetector
Uses the TokenTrieWalker to try and find a set of Components for given input identifier(s).
ComponentDetectorResult
ComponentType
Config
DeviceApi Configurations. To change the default configs of the DeviceAtlas DeviceApi create an instance of this class, set your preferred configs and pass the instance to the constructor of a DeviceApi. Note that you may change the configs even after the Config instance has been passed to the DeviceApi.
ConstraintGroup
Defines a constraint group. A constraint group is comprised of a list of match constraints. For the constraint group to be valid only one of the match constraints needs to match.
DelimitersHandler
This class creates an array of key values representing all characters up to the maximum delimiter character's codepoint. It uses the codepoint value of a given character as a lookup into the boolean array. An entry that returns true from the array is a delimiter character.
DependentInput
Represents a single entry in the data file "o" (ordered inputs) node.
DeviceApi
The DeviceAtlas device detection API provides a way to detect devices based on the HTTP headers. Using the headers, the API returns device properties such as screen width, screen height, is mobile, vendor, model etc.<br/><br/>
DeviceApiWeb
The DeviceAtlas device detection API provides a way to detect devices based on the HTTP headers. Using the headers, the API returns device properties such as screen width, screen height, is mobile, vendor, model etc.<br/><br/>
DeviceData
DeviceDataParser
Parses the data from the JSON file.
DynamicPropertiesExtractor
Handle the extraction of dynamic properties from identifiers
DynamicStringExtractor
The "string" dynamic value extractor extracts a dynamic value without validating the extracted value.
DynamicValue
A DynamicValue holds a reference to a component that should be present before the dynamic value and also a DynamicValueExtractor that is responsible for actually extracting the value from an identifier.
DynamicValueExtractorFactory
DynamicVersionExtractor
The "version" dynamic value extractor extracts a dynamic value and ensures it is a version value.
IdentifierMatchResult
Collects the MatchCandidates found during the token trie walk along with their token position. Positions for dynamic properties are also recorded for later use.
Inputs
Represents the "i" (inputs node) in the data file.
LanguagePropertiesExtractor
Parses the Accept-Language header and adds the language and languageLocale properties the properties set.
LookaroundConstraint
Defines a lookaround constraint. This is a constraint that may be applied to a component found via the token trie walk. The constraint contains an component index and an allowed offset that it can exist for the constraint to be valid
MatchCandidate
A match candidate is considered a match and its component available for selection if the position in the identifier string is within the range of its position constraint. If the match candidate was detected using only a partial token then it is considered a match if it is a starts with rule type.
MatchCandidatesCharPosition
MatchType
MetaData
Operator
PositionConstraint
Defines a range of valid positions that a token can occur in.
PropertiesCollector
Collects the properties from the components detected by the ComponentDetectorClass.
PropertyConstraint
Model of a property constraint.
PropertyConstraintRunner
Refines the detected components using any detected property constraints.
PropertyMapping
Represents a single entry in the data file "pm" (property mappings) node.
PropertyMappingSource
Represents a single property mapping source for a property mapping. An identifier transformation can contain a trim transformation OR a list of comparison transformations.
PropertyMappingsRunner
Runs the property mappings transformations and adds the found properties to the result set.
StaticComponent
TokenTrieWalker
Walks a provided identifier to try and find one or more matching components.
TrimTransformer
Represents a "tt" node (trim transformation) within a "pm" (property mappings) node. Trims a defined prefix and suffix from an input.
Util
Version
Encapsulates a version number string and allows for comparison to other version numbers.
VersionSearch
VersionSpecificChildren
A component may contain version-specific children. These are contained within a component's "vc" node which this class represent.

        
On this page

Search results