Interface ITrackerFactory
- Namespace
- VpnHood.Core.Client.VpnServices.Abstractions.Tracking
- Assembly
- VpnHood.Core.Client.VpnServices.Abstractions.dll
Defines a maker of trackers.
public interface ITrackerFactory
- Extension Methods
Remarks
The VPN service makes the factories again in its own process, from each one's type and public properties
(TrackerFactorySerializer), so a factory keeps its settings — an ID, a key — in public properties, has
a public constructor without parameters, and makes a NullTracker where its SDK must not run.
Methods
CreateTracker(TrackerCreateParams)
Makes a tracker.
ITracker CreateTracker(TrackerCreateParams createParams)
Parameters
createParamsTrackerCreateParamsThe client's ID, version and user agent, and the person's usage-data switch.
Returns
- ITracker
The tracker; one that sends nothing where its SDK must not run.