C# 클래스 PocketCampus.Main.Services.LocationService

Locates the current user on Earth.
상속: ILocationService
파일 보기 프로젝트 열기: accandme/pocketcampus

공개 메소드들

메소드 설명
GetLocationAsync ( ) : GeoLocationStatus>>.Task

Asynchronously gets the user's location.

비공개 메소드들

메소드 설명
Locator_PositionChanged ( Geolocator sender, PositionChangedEventArgs args ) : void

Occurs when the user's position changes.

Locator_StatusChanged ( Geolocator sender, StatusChangedEventArgs args ) : void

Occurs when the status of the GeoLocator changes.

OnError ( ) : void
OnIsEnabledChanged ( ) : void

Occurs when the LocationService is enabled or disabled.

OnLocationChanged ( GeoPosition location ) : void
OnReady ( ) : void
PositionFromCoordinate ( Geocoordinate coord ) : GeoPosition

Converts a Geocoordinate (Windows Phone) into a GeoPosition (PocketCampus).

메소드 상세

GetLocationAsync() 공개 메소드

Asynchronously gets the user's location.
public GetLocationAsync ( ) : GeoLocationStatus>>.Task
리턴 GeoLocationStatus>>.Task