IGeoPositionWatcher(Of T) Interface

.NET Framework (current version)
 

Interface that can be implemented for providing accessing location data and receiving location updates.

Namespace:   System.Device.Location
Assembly:  System.Device (in System.Device.dll)

Public Interface IGeoPositionWatcher(Of T)

Type Parameters

T

The type of the object that contains the location data.

NameDescription
System_CAPS_pubpropertyPosition

Gets the location data.

System_CAPS_pubpropertyStatus

Gets the status of location data.

NameDescription
System_CAPS_pubmethodStart()

Initiate the acquisition of location data.

System_CAPS_pubmethodStart(Boolean)

Start acquiring location data, specifying whether or not to suppress prompting for permissions. This method returns synchronously.

System_CAPS_pubmethodStop()

Stop acquiring location data.

System_CAPS_pubmethodTryStart(Boolean, TimeSpan)

Start acquiring location data, specifying an initialization timeout. This method returns synchronously.

NameDescription
System_CAPS_pubeventPositionChanged

Occurs when the Position property has changed.

System_CAPS_pubeventStatusChanged

Occurs when the Status property changes.

The GeoCoordinateWatcher class implements IGeoPositionWatcher(Of T), using GeoCoordinate as the type parameter.

.NET Framework
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: