Click or drag to resize
Cimbalino ToolkitLocationService Class
Represents an implementation of the ILocationService.
Inheritance Hierarchy
SystemObject
  Cimbalino.Toolkit.ServicesLocationService

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 class LocationService : ILocationService

The LocationService type exposes the following members.

Constructors
  NameDescription
Public methodLocationService
Initializes a new instance of the LocationService class.
Top
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRaisePositionChanged
Raises the PositionChanged event with the provided event data.
Protected methodRaiseStatusChanged
Raises the StatusChanged event with the provided event data.
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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
Extension Methods
  NameDescription
Public Extension MethodAddEventHandler
Adds an event handler to an event source.
(Defined by ObjectExtensions.)
Public Extension MethodGetPropertyValue(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodGetPropertyValueTObject(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodInvokeMethod(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters.
(Defined by ObjectExtensions.)
Public Extension MethodInvokeMethodTObject(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters, returning the result.
(Defined by ObjectExtensions.)
Public Extension MethodRemoveEventHandler
Removes an event handler from an event source.
(Defined by ObjectExtensions.)
Public Extension MethodSetPropertyValueTObject
Searches for the public property with the specified name and sets its value.
(Defined by ObjectExtensions.)
Top
Version Information

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also