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
System.Collections.ObjectModelCollectionPosition
ZylSoft.Gps.MobileTrack
Namespace: ZylSoft.Gps.Mobile
Assembly: ZylGpsReceiverMobile (in ZylGpsReceiverMobile.dll) Version: 3.14.6846.29005
Syntax
The Track type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Track | Initializes a new instance of the Track class |
Properties
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionPosition.) | |
| Description |
Description of the track.
| |
| Item | Gets or sets the element at the specified index. (Inherited from CollectionPosition.) | |
| Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionPosition.) | |
| Name |
Name of the track.
|
Methods
| Name | Description | |
|---|---|---|
| Add | Adds an object to the end of the CollectionT. (Inherited from CollectionPosition.) | |
| Clear | Removes all elements from the CollectionT. (Inherited from CollectionPosition.) | |
| ClearItems | Removes all elements from the CollectionT. (Inherited from CollectionPosition.) | |
| Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionPosition.) | |
| CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionPosition.) | |
| Equals | (Inherited from Object.) | |
| ExportToGpx |
Exports track to GPX format.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionPosition.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the type of the current instance. (Inherited from Object.) | |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionPosition.) | |
| Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionPosition.) | |
| InsertItem | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionPosition.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionPosition.) | |
| RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionPosition.) | |
| RemoveItem | Removes the element at the specified index of the CollectionT. (Inherited from CollectionPosition.) | |
| Reset |
Resets the track.
| |
| SetItem | Replaces the element at the specified index. (Inherited from CollectionPosition.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also