C# Класс ApexLumia.Location

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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 e ) : void

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.

Описание методов

Location() публичный Метод

Constructor: Creates the GeoCoordinateWatcher object, sets the Positioning accuracy, movement threshold and Event Handlers.
public Location ( ) : System
Результат System

start() публичный Метод

Starts the location service in a new thread.
public start ( ) : void
Результат void

stop() публичный Метод

Stops the location service.
public stop ( ) : void
Результат void