TrackingGroup Class
Signature
export declare class TrackingGroup
Constructors
| Constructor | Description | 
|---|---|
| (constructor)() | Constructs a new instance of the TrackingGroup class | 
  
Properties
| Property | Type | Description | 
|---|---|---|
| segments | readonly ISegment[] | |
| size | number | 
Methods
| Method | Return Type | Description | 
|---|---|---|
| has(segment) | boolean | |
| link(segment) | void | |
| unlink(segment) | void | 
Constructor Details
(constructor)
Constructs a new instance of the TrackingGroup class
Signature
constructor();
Property Details
segments
Signature
get segments(): readonly ISegment[];
Type: readonly ISegment[]
size
Signature
get size(): number;
Type: number
Method Details
has
Signature
has(segment: ISegment): boolean;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| segment | ISegment | 
Returns
Return type: boolean
link
Signature
link(segment: ISegment): void;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| segment | ISegment | 
unlink
Signature
unlink(segment: ISegment): void;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| segment | ISegment |