Click or drag to resize
Cimbalino ToolkitILocationService Interface
Represents a service capable of handling the device location capabilities.

Namespace: Cimbalino.Toolkit.Services
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public interface ILocationService

The ILocationService type exposes the following members.

Properties
  NameDescription
Public propertyDesiredAccuracy
Gets the accuracy level at which the location service provides location updates.
Public propertyDesiredAccuracyInMeters
Gets the desired accuracy in meters for data returned from the location service.
Public propertyMovementThreshold
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.
Public propertyReportInterval
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.
Public propertyStatus
Gets the status that indicates the ability of the location service to provide location updates.
Top
Methods
  NameDescription
Public methodGetPositionAsync
Starts an asynchronous operation to retrieve the current location.
Public methodGetPositionAsync(LocationServiceAccuracy)
Starts an asynchronous operation to retrieve the current location.
Public methodGetPositionAsync(TimeSpan, TimeSpan)
Starts an asynchronous operation to retrieve the current location.
Public methodGetPositionAsync(LocationServiceAccuracy, TimeSpan, TimeSpan)
Starts an asynchronous operation to retrieve the current location.
Public methodStart
Starts the acquisition of data from the location service.
Public methodStart(Int32)
Starts the acquisition of data from the location service.
Public methodStart(LocationServiceAccuracy)
Starts the acquisition of data from the location service.
Public methodStop
Stops the acquisition of data from the location service.
Top
Events
  NameDescription
Public eventPositionChanged
Occurs when the location service detects a change in position.
Public eventStatusChanged
Occurs when the status of the location service changes.
Top
Version Information

Portable

Supported in: 4.5

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also