C# 클래스 Cimbalino.Phone.Toolkit.Services.LocationServiceBase

Base class for device location capabilities.
파일 보기 프로젝트 열기: Cimbalino/Cimbalino-Phone-Toolkit

공개 메소드들

메소드 설명
Stop ( ) : void

Stops the acquisition of data from the location service.

보호된 메소드들

메소드 설명
OnPositionChanged ( GeoPositionChangedEventArgs e ) : void

Invoked when the location service detects a change in position.

OnStatusChanged ( GeoPositionStatusChangedEventArgs e ) : void

Invoked when the status of the location service changes.

비공개 메소드들

메소드 설명
GeoCoordinateWatcherPositionChanged ( object sender, GeoPositionChangedEventArgs e ) : void
GeoCoordinateWatcherStatusChanged ( object sender, GeoPositionStatusChangedEventArgs e ) : void
Start ( GeoPositionAccuracy desiredAccuracy, double movementThreshold ) : void

메소드 상세

OnPositionChanged() 보호된 추상적인 메소드

Invoked when the location service detects a change in position.
protected abstract OnPositionChanged ( GeoPositionChangedEventArgs e ) : void
e GeoPositionChangedEventArgs The instance containing the event data.
리턴 void

OnStatusChanged() 보호된 추상적인 메소드

Invoked when the status of the location service changes.
protected abstract OnStatusChanged ( GeoPositionStatusChangedEventArgs e ) : void
e GeoPositionStatusChangedEventArgs The instance containing the event data.
리턴 void

Stop() 공개 메소드

Stops the acquisition of data from the location service.
public Stop ( ) : void
리턴 void