Skip to main content
Version: v1

TrackingGroupCollection Class

Signature

export declare class TrackingGroupCollection

Constructors

Constructor Description
(constructor)(segment) Constructs a new instance of the TrackingGroupCollection class

Properties

Property Type Description
empty boolean
trackingGroups Set<TrackingGroup>

Methods

Method Return Type Description
copyTo(segment) void
link(trackingGroup) void
matches(trackingCollection) boolean
unlink(trackingGroup) void

Constructor Details

(constructor)

Constructs a new instance of the TrackingGroupCollection class

Signature

constructor(segment: ISegment);

Parameters

Parameter Type Description
segment ISegment

Property Details

empty

Signature

get empty(): boolean;

Type: boolean

trackingGroups

Signature

readonly trackingGroups: Set<TrackingGroup>;

Type: Set<TrackingGroup>

Method Details

copyTo

Signature

copyTo(segment: ISegment): void;

Parameters

Parameter Type Description
segment ISegment
link(trackingGroup: TrackingGroup): void;
Parameter Type Description
trackingGroup TrackingGroup

matches

Signature

matches(trackingCollection: TrackingGroupCollection): boolean;

Parameters

Parameter Type Description
trackingCollection TrackingGroupCollection

Returns

Return type: boolean

unlink(trackingGroup: TrackingGroup): void;
Parameter Type Description
trackingGroup TrackingGroup