Метод | Описание | |
---|---|---|
Location ( ) : System |
Constructor: Creates the GeoCoordinateWatcher object, sets the Positioning accuracy, movement threshold and Event Handlers.
|
|
start ( ) : void |
Starts the location service in a new thread.
|
|
stop ( ) : void |
Stops the location service.
|
Метод | Описание | |
---|---|---|
startLocationService ( ) : void |
Tries to start the location service.
|
|
watcherPositionChanged ( object sender, GeoPositionChangedEventArgs |
Event Handler: Called whenever the position changes and updates the class properties to the latest data.
|
|
watcherStatusChanged ( object sender, GeoPositionStatusChangedEventArgs e ) : void |
Event Handler: Handles status change of location service.
|