ILocationService Interface |
Namespace: Cimbalino.Toolkit.Services
public interface ILocationService
The ILocationService type exposes the following members.
Name | Description | |
---|---|---|
DesiredAccuracy |
Gets the accuracy level at which the location service provides location updates.
| |
DesiredAccuracyInMeters |
Gets the desired accuracy in meters for data returned from the location service.
| |
MovementThreshold |
Gets or sets the distance of movement, in meters, relative to the coordinate from the last PositionChanged event, that is required for the location service to raise a PositionChanged event.
| |
ReportInterval |
Gets or sets the requested minimum time interval between location updates, in milliseconds. If your application requires updates infrequently, set this value so that the location provider can conserve power by calculating location only when needed.
| |
Status |
Gets the status that indicates the ability of the location service to provide location updates.
|
Name | Description | |
---|---|---|
GetPositionAsync |
Starts an asynchronous operation to retrieve the current location.
| |
GetPositionAsync(LocationServiceAccuracy) |
Starts an asynchronous operation to retrieve the current location.
| |
GetPositionAsync(TimeSpan, TimeSpan) |
Starts an asynchronous operation to retrieve the current location.
| |
GetPositionAsync(LocationServiceAccuracy, TimeSpan, TimeSpan) |
Starts an asynchronous operation to retrieve the current location.
| |
Start |
Starts the acquisition of data from the location service.
| |
Start(Int32) |
Starts the acquisition of data from the location service.
| |
Start(LocationServiceAccuracy) |
Starts the acquisition of data from the location service.
| |
Stop |
Stops the acquisition of data from the location service.
|
Name | Description | |
---|---|---|
PositionChanged |
Occurs when the location service detects a change in position.
| |
StatusChanged |
Occurs when the status of the location service changes.
|