C# 클래스 Catel.Services.LocationServiceBase

Class to allow partial abstract methods.
상속: ILocationService
파일 보기 프로젝트 열기: Catel/Catel

공개 메소드들

메소드 설명
GetCurrentLocation ( ) : ILocation

Gets the current location.

Start ( ) : bool

Starts the location service so it's retrieving data.

Stop ( ) : void

Stops the location service so it's no longer retrieving data.

보호된 메소드들

메소드 설명
Initialize ( ) : void

Initializes the service.

LocationServiceBase ( IDispatcherService dispatcherService ) : System

Initializes a new instance of the LocationServiceBase class.

RaiseLocationChanged ( ) : void

Called when the current location has changed.

StartSensor ( ) : bool

Starts the sensor.

StopSensor ( ) : void

Stops the location service so it's no longer retrieving data.

메소드 상세

GetCurrentLocation() 공개 메소드

Gets the current location.
public GetCurrentLocation ( ) : ILocation
리턴 ILocation

Initialize() 보호된 메소드

Initializes the service.
protected Initialize ( ) : void
리턴 void

LocationServiceBase() 보호된 메소드

Initializes a new instance of the LocationServiceBase class.
protected LocationServiceBase ( IDispatcherService dispatcherService ) : System
dispatcherService IDispatcherService The dispatcher service.
리턴 System

RaiseLocationChanged() 보호된 메소드

Called when the current location has changed.
protected RaiseLocationChanged ( ) : void
리턴 void

Start() 공개 메소드

Starts the location service so it's retrieving data.
public Start ( ) : bool
리턴 bool

StartSensor() 보호된 메소드

Starts the sensor.
protected StartSensor ( ) : bool
리턴 bool

Stop() 공개 메소드

Stops the location service so it's no longer retrieving data.
public Stop ( ) : void
리턴 void

StopSensor() 보호된 메소드

Stops the location service so it's no longer retrieving data.
protected StopSensor ( ) : void
리턴 void