Geolocator class winrt Class
Provides access to the current geographic location.
- Inheritance
-
- Object
- IUnknown
- IInspectable
- Geolocator
- Implemented types
- Available extensions
Constructors
Properties
- desiredAccuracy ↔ PositionAccuracy
-
getter/setter pairoverride
- desiredAccuracyInMeters ↔ int?
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- locationStatus → PositionStatus
-
no setteroverride
- movementThreshold ↔ double
-
getter/setter pairoverride
-
ptr
↔ Pointer<
COMObject> -
getter/setter pairinherited
- reportInterval ↔ int
-
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add_PositionChanged(
Pointer< NativeFunction< handler) → intTypedEventHandler> > -
override
-
add_StatusChanged(
Pointer< NativeFunction< handler) → intTypedEventHandler> > -
override
-
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
allowFallbackToConsentlessPositions(
) → void -
override
-
getGeopositionAsync(
) → Future< Geoposition?> -
override
-
getGeopositionAsyncWithAgeAndTimeout(
Duration maximumAge, Duration timeout) → Future< Geoposition?> -
override
-
getIids(
Pointer< Uint32> iidCount, Pointer<Pointer< iids) → intGUID> > -
inherited
-
getRuntimeClassName(
Pointer< IntPtr> className) → int -
inherited
-
getTrustLevel(
Pointer< Int32> trustLevel) → int -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
Queries a COM object for a pointer to one of its interface; identifying
the interface by a reference to its interface identifier (IID).
inherited
-
release(
) → int -
Decrements the reference count for an interface on a COM object.
inherited
-
remove_PositionChanged(
int token) → void -
override
-
remove_StatusChanged(
int token) → void -
override
-
toInterface(
String iid) → Pointer< COMObject> -
Cast an existing COM object to a specified interface.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultGeoposition ↔ BasicGeoposition?
-
getter/setter pair
- isDefaultGeopositionRecommended → bool
-
no setter
Static Methods
-
getGeopositionHistoryAsync(
DateTime startTime) → Future< List< Geoposition> > -
getGeopositionHistoryWithDurationAsync(
DateTime startTime, Duration duration) → Future< List< Geoposition> > -
requestAccessAsync(
) → Future< GeolocationAccessStatus>