C# Class Catel.Services.LocationServiceBase

Class to allow partial abstract methods.
Inheritance: ILocationService
Exibir arquivo Open project: Catel/Catel

Public Methods

Method Description
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.

Protected Methods

Method Description
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.

Method Details

GetCurrentLocation() public method

Gets the current location.
public GetCurrentLocation ( ) : ILocation
return ILocation

Initialize() protected method

Initializes the service.
protected Initialize ( ) : void
return void

LocationServiceBase() protected method

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

RaiseLocationChanged() protected method

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

Start() public method

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

StartSensor() protected method

Starts the sensor.
protected StartSensor ( ) : bool
return bool

Stop() public method

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

StopSensor() protected method

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