Click or drag to resize

Track Class

Track class. Tracks are made up of data gathered automatically from your motion while the GPS is turned ON. They provide a record of where you've been, and when, so you can later determine your path and speed. There may be hundreds or thousands of such points in a track, but they are all anonymous. They don't have names and you can't easily get the location of any particular one.
Inheritance Hierarchy

Namespace: ZylSoft.Gps
Assembly: ZylGpsReceiver (in ZylGpsReceiver.dll) Version: 3.28.8737.22596
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public class Track : Collection<Position>

The Track type exposes the following members.

Constructors
 NameDescription
Public methodTrackInitializes a new instance of the Track class
Top
Properties
 NameDescription
Public propertyCountGets the number of elements actually contained in the CollectionT.
(Inherited from CollectionPosition)
Public propertyDescription Description of the track.
Public propertyItemGets or sets the element at the specified index.
(Inherited from CollectionPosition)
Protected propertyItemsGets a IListT wrapper around the CollectionT.
(Inherited from CollectionPosition)
Public propertyName Name of the track.
Top
Methods
 NameDescription
Public methodAddAdds an object to the end of the CollectionT.
(Inherited from CollectionPosition)
Public methodClearRemoves all elements from the CollectionT.
(Inherited from CollectionPosition)
Protected methodClearItemsRemoves all elements from the CollectionT.
(Inherited from CollectionPosition)
Public methodContainsDetermines whether an element is in the CollectionT.
(Inherited from CollectionPosition)
Public methodCopyToCopies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionPosition)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExportToGpx Exports track to GPX format.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetEnumeratorReturns an enumerator that iterates through the CollectionT.
(Inherited from CollectionPosition)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionPosition)
Public methodInsertInserts an element into the CollectionT at the specified index.
(Inherited from CollectionPosition)
Protected methodInsertItemInserts an element into the CollectionT at the specified index.
(Inherited from CollectionPosition)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveRemoves the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionPosition)
Public methodRemoveAtRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionPosition)
Protected methodRemoveItemRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionPosition)
Public methodReset Resets the track.
Protected methodSetItemReplaces the element at the specified index.
(Inherited from CollectionPosition)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also