GeoCoordinateWatcher Methods

GeoCoordinateWatcher Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The GeoCoordinateWatcher type exposes the following members.

  NameDescription
Public method Dispose Releases managed and unmanaged resources used by the GeoCoordinateWatcher and stops the acquisition of data from the location service.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the GeoCoordinateWatcher is reclaimed by garbage collection. (Overrides Object.Finalize().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnPositionChanged Raises the PositionChanged event.
Protected method OnPositionStatusChanged Raises the PositionChanged event.
Protected method OnPropertyChanged Raises the PropertyChanged event for the GeoCoordinateWatcher class.
Public method Start() Security Critical. Starts the acquisition of data from the location service.
Public method Start(Boolean) Security Critical. Starts the acquisition of data from the location service.
Public method Stop Security Critical. Stops the acquisition of data from the location service.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryStart Security Critical. Attempts to start the acquisition of data from the location service. If the provided timeout interval is exceeded before the location service responds, the request for location is stopped and the method returns false.
Top

Show:
© 2016 Microsoft