◆ Build()
override IPipeline FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.Build | ( | ) |
Build and return a pipeline that can perform device detection.
- Returns
\r\n
Builder used to create pipelines with an on-premise device detection engine.
DeviceDetectionOnPremisePipelineBuilder | SetShareUsage (bool enabled)
Set share usage enabled/disabled. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetAutoUpdate (bool enabled)
Enable/Disable auto update. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetDataUpdateOnStartUp (bool enabled)
Enable/Disable update on startup. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetDataUpdateLicenseKey (string key)
Set the license key used when checking for new device detection data files. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetUpdatePollingInterval (int pollingIntervalSeconds)
Set the time between checks for a new data file made by the FiftyOne.Pipeline.Engines.Services.DataUpdateService. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetUpdatePollingInterval (TimeSpan pollingInterval)
Set the time between checks for a new data file made by the FiftyOne.Pipeline.Engines.Services.DataUpdateService. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetUpdateRandomisationMax (int maximumDeviationSeconds)
A random element can be added to the FiftyOne.Pipeline.Engines.Services.DataUpdateService polling interval. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetUpdateRandomisationMax (TimeSpan maximumDeviation)
A random element can be added to the FiftyOne.Pipeline.Engines.Services.DataUpdateService polling interval. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetPerformanceProfile (PerformanceProfiles profile)
Set the performance profile for the device detection engine. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetConcurrency (ushort concurrency)
Set the expected number of concurrent operations using the engine. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetDifference (int difference)
Set the maximum difference to allow when processing HTTP headers. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetAllowUnmatched (bool allow)
If set to false, a non-matching User-Agent will result in properties without set values. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetUsePerformanceGraph (bool use)
Specify if the 'performance' evaluation graph should be used or not. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetUsePredictiveGraph (bool use)
Specify if the 'predictive' evaluation graph should be used or not. More...
|
DeviceDetectionOnPremisePipelineBuilder | SetDataFileSystemWatcher (bool enabled)
The DataUpdateService has the ability to watch a file on disk and refresh the engine as soon as that file is updated. More...
|
override IPipeline | Build ()
Build and return a pipeline that can perform device detection. More...
|
override IPipeline FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.Build | ( | ) |
Build and return a pipeline that can perform device detection.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetAllowUnmatched | ( | bool | allow | ) |
If set to false, a non-matching User-Agent will result in properties without set values.
If set to true, a non-matching User-Agent will cause the 'default profiles' to be returned. This means that properties will always have values (i.e. no need to check .HasValue) but some may be inaccurate. By default, this is false.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetAutoUpdate | ( | bool | enabled | ) |
Enable/Disable auto update.
Defaults to enabled. If enabled, the auto update system will automatically download and apply new data files for device detection.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetConcurrency | ( | ushort | concurrency | ) |
Set the expected number of concurrent operations using the engine.
This sets the concurrency of the internal caches to avoid excessive locking.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetDataFileSystemWatcher | ( | bool | enabled | ) |
The DataUpdateService has the ability to watch a file on disk and refresh the engine as soon as that file is updated.
This setting enables/disables that feature.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetDataUpdateLicenseKey | ( | string | key | ) |
Set the license key used when checking for new device detection data files.
Defaults to null.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetDataUpdateOnStartUp | ( | bool | enabled | ) |
Enable/Disable update on startup.
Defaults to enabled. If enabled, the auto update system will be used to check for an update before the device detection engine is created. If an update is available, it will be downloaded and applied before the pipeline is built and returned for use so this may take some time.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetDifference | ( | int | difference | ) |
Set the maximum difference to allow when processing HTTP headers.
The difference is the difference in hash value between the hash that was found, and the hash that is being searched for. By default this is 0.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetPerformanceProfile | ( | PerformanceProfiles | profile | ) |
Set the performance profile for the device detection engine.
Defaults to balanced.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetShareUsage | ( | bool | enabled | ) |
Set share usage enabled/disabled.
Defaults to enabled.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetUpdatePollingInterval | ( | int | pollingIntervalSeconds | ) |
Set the time between checks for a new data file made by the FiftyOne.Pipeline.Engines.Services.DataUpdateService.
Default = 30 minutes.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetUpdatePollingInterval | ( | TimeSpan | pollingInterval | ) |
Set the time between checks for a new data file made by the FiftyOne.Pipeline.Engines.Services.DataUpdateService.
Default = 30 minutes.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetUpdateRandomisationMax | ( | int | maximumDeviationSeconds | ) |
A random element can be added to the FiftyOne.Pipeline.Engines.Services.DataUpdateService polling interval.
This option sets the maximum length of this random addition. Default = 10 minutes.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetUpdateRandomisationMax | ( | TimeSpan | maximumDeviation | ) |
A random element can be added to the FiftyOne.Pipeline.Engines.Services.DataUpdateService polling interval.
This option sets the maximum length of this random addition. Default = 10 minutes.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetUsePerformanceGraph | ( | bool | use | ) |
Specify if the 'performance' evaluation graph should be used or not.
The performance graph is faster than predictive but can be less accurate. Note that the performance graph will always be evaluated first if it is enableds so if you have both performance and predictive enabled, you will often be getting results from just the performance graph. In that situation, predictive will only be used if a match cannot be found using the performance graph.
DeviceDetectionOnPremisePipelineBuilder FiftyOne.DeviceDetection.DeviceDetectionOnPremisePipelineBuilder.SetUsePredictiveGraph | ( | bool | use | ) |
Specify if the 'predictive' evaluation graph should be used or not.
The predictive graph is more accurate than performance but is also slower. Note that the performance graph will always be evaluated first if it is enabled, so if you have both performance and predictive enabled, you will often be getting results from just the performance graph. In that situation, predictive will only be used if a match cannot be found using the performance graph.