Click or drag to resize
Cimbalino ToolkitLocationService.GetPositionAsync Method (TimeSpan, TimeSpan)
Starts an asynchronous operation to retrieve the current location.

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 virtual Task<LocationServicePosition> GetPositionAsync(
	TimeSpan maximumAge,
	TimeSpan timeout
)

Parameters

maximumAge
Type: System.TimeSpan
The maximum acceptable age of cached location data.
timeout
Type: System.TimeSpan
The timeout.

Return Value

Type: Task<LocationServicePosition>
The Task object representing the asynchronous operation.

Implements

ILocationService.GetPositionAsync(TimeSpan, TimeSpan)
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