◆ GetDataDownloadType()
override string FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.GetDataDownloadType | ( | string | identifier | ) |
Get the value to use for the 'Type' parameter when calling the 51Degrees Distributor service to check for a newer data file.
- Parameters
-
- identifier - The identifier of the data file to get the type for. This engine only uses one file so this parameter is ignored.
- Returns
- A string
◆ ProcessEngine()
override void FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.ProcessEngine ( IFlowData data, IDeviceDataHash deviceData ) protectedPerform processing for this engine
- Parameters
-
- data - The IFlowData instance containing data for the current request.
- deviceData - The IDeviceDataHash instance to populate with property values
- Exceptions
-
- ArgumentNullException - Thrown if a required parameter is null
◆ RefreshData() [1/2]
override void FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.RefreshData ( string dataFileIdentifier ) Called when update data is available in order to get the engine to refresh it's internal data structures.
This overload is used if the data is a physical file on disk.
- Parameters
-
- dataFileIdentifier - The identifier of the data file to update. This engine only uses one data file so this parameter is ignored.
◆ RefreshData() [2/2]
override void FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.RefreshData ( string dataFileIdentifier, Stream stream ) Called when update data is available in order to get the engine to refresh it's internal data structures.
This overload is used when the data is presented as a Stream, usually a MemoryStream.
- Parameters
-
- dataFileIdentifier - The identifier of the data file to update. This engine only uses one data file so this parameter is ignored.
- stream - The Stream containing the data to refresh the engine with.
◆ UnmanagedResourcesCleanup()
override void FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.UnmanagedResourcesCleanup ( ) protectedDispose of any unmanaged resources.
Member Data Documentation
◆ AutomaticUpdatesEnabled
bool FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.AutomaticUpdatesEnabled => _engine.getAutomaticUpdatesEnabled() True if the data used by this engine will automatically be updated when a new file is available.
False if the data will only be updated manually.
◆ DataSourceTier
override string FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.DataSourceTier => _engine.getType() The tier of the data that is currently being used by this engine.
For example, 'Lite' or 'Enterprise'
◆ ElementDataKey
override string FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.ElementDataKey => "device" The key to use for this element's data in a IFlowData instance.
◆ EvidenceKeyFilter
override IEvidenceKeyFilter FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.EvidenceKeyFilter => _evidenceKeyFilter A filter that defines the evidence that this engine can make use of.
Property Documentation
◆ Components
override IEnumerable<IComponentMetaData> FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.Components getGet the meta-data for components populated by this engine.
◆ Profiles
override IEnumerable<IProfileMetaData> FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.Profiles getGet the meta-data for profiles that may be returned by this engine.
◆ Properties
override IList<IFiftyOneAspectPropertyMetaData> FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.Properties getGet the meta-data for properties populated by this engine.
◆ Values
override IEnumerable<IValueMetaData> FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.Values getGet the meta-data for values that can be returned by this engine.
Event Documentation
◆ RefreshCompleted
override EventHandler<EventArgs> FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements.DeviceDetectionHashEngine.RefreshCompleted This event is fired whenever the data that this engine makes use of has been updated.