mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Latest update for winrt
PiperOrigin-RevId: 452591835
This commit is contained in:
committed by
Copybara-Service
parent
11558b453c
commit
28da839987
+93
-95
@@ -1,4 +1,4 @@
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14
|
||||
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
|
||||
|
||||
#pragma once
|
||||
#ifndef WINRT_Windows_Devices_Geolocation_0_H
|
||||
@@ -6,14 +6,12 @@
|
||||
WINRT_EXPORT namespace winrt::Windows::Foundation
|
||||
{
|
||||
struct EventRegistrationToken;
|
||||
template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
|
||||
template <typename T> struct __declspec(empty_bases) IReference;
|
||||
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
|
||||
}
|
||||
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
|
||||
{
|
||||
template <typename T> struct __declspec(empty_bases) IIterable;
|
||||
template <typename T> struct __declspec(empty_bases) IVectorView;
|
||||
}
|
||||
WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation
|
||||
{
|
||||
@@ -572,11 +570,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_ICivicAddress
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Country() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) State() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) City() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) PostalCode() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const;
|
||||
[[nodiscard]] auto Country() const;
|
||||
[[nodiscard]] auto State() const;
|
||||
[[nodiscard]] auto City() const;
|
||||
[[nodiscard]] auto PostalCode() const;
|
||||
[[nodiscard]] auto Timestamp() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::ICivicAddress>
|
||||
{
|
||||
@@ -585,11 +583,11 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeoboundingBox
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) NorthwestCorner() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) SoutheastCorner() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) Center() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) MinAltitude() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) MaxAltitude() const;
|
||||
[[nodiscard]] auto NorthwestCorner() const;
|
||||
[[nodiscard]] auto SoutheastCorner() const;
|
||||
[[nodiscard]] auto Center() const;
|
||||
[[nodiscard]] auto MinAltitude() const;
|
||||
[[nodiscard]] auto MaxAltitude() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeoboundingBox>
|
||||
{
|
||||
@@ -598,9 +596,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) CreateWithAltitudeReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) CreateWithAltitudeReferenceAndSpatialReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const;
|
||||
auto Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner) const;
|
||||
auto CreateWithAltitudeReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const;
|
||||
auto CreateWithAltitudeReferenceAndSpatialReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeoboundingBoxFactory>
|
||||
{
|
||||
@@ -609,9 +607,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem, uint32_t spatialReferenceId) const;
|
||||
auto TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions) const;
|
||||
auto TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem) const;
|
||||
auto TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem, uint32_t spatialReferenceId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeoboundingBoxStatics>
|
||||
{
|
||||
@@ -620,8 +618,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeocircle
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) Center() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) Radius() const;
|
||||
[[nodiscard]] auto Center() const;
|
||||
[[nodiscard]] auto Radius() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocircle>
|
||||
{
|
||||
@@ -630,9 +628,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeocircleFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const;
|
||||
auto Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius) const;
|
||||
auto CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const;
|
||||
auto CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocircleFactory>
|
||||
{
|
||||
@@ -641,14 +639,14 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeocoordinate
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) Latitude() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) Longitude() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) Altitude() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) Accuracy() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) AltitudeAccuracy() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) Heading() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) Speed() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const;
|
||||
[[nodiscard]] auto Latitude() const;
|
||||
[[nodiscard]] auto Longitude() const;
|
||||
[[nodiscard]] auto Altitude() const;
|
||||
[[nodiscard]] auto Accuracy() const;
|
||||
[[nodiscard]] auto AltitudeAccuracy() const;
|
||||
[[nodiscard]] auto Heading() const;
|
||||
[[nodiscard]] auto Speed() const;
|
||||
[[nodiscard]] auto Timestamp() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocoordinate>
|
||||
{
|
||||
@@ -657,9 +655,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) PositionDilutionOfPrecision() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) HorizontalDilutionOfPrecision() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) VerticalDilutionOfPrecision() const;
|
||||
[[nodiscard]] auto PositionDilutionOfPrecision() const;
|
||||
[[nodiscard]] auto HorizontalDilutionOfPrecision() const;
|
||||
[[nodiscard]] auto VerticalDilutionOfPrecision() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData>
|
||||
{
|
||||
@@ -668,8 +666,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) GeometricDilutionOfPrecision() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) TimeDilutionOfPrecision() const;
|
||||
[[nodiscard]] auto GeometricDilutionOfPrecision() const;
|
||||
[[nodiscard]] auto TimeDilutionOfPrecision() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2>
|
||||
{
|
||||
@@ -678,7 +676,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Point() const;
|
||||
[[nodiscard]] auto Point() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPoint>
|
||||
{
|
||||
@@ -687,8 +685,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionSource) PositionSource() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeocoordinateSatelliteData) SatelliteData() const;
|
||||
[[nodiscard]] auto PositionSource() const;
|
||||
[[nodiscard]] auto SatelliteData() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionData>
|
||||
{
|
||||
@@ -697,7 +695,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionSourceTimestamp
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) PositionSourceTimestamp() const;
|
||||
[[nodiscard]] auto PositionSourceTimestamp() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionSourceTimestamp>
|
||||
{
|
||||
@@ -706,23 +704,23 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeolocator
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionAccuracy) DesiredAccuracy() const;
|
||||
WINRT_IMPL_AUTO(void) DesiredAccuracy(winrt::Windows::Devices::Geolocation::PositionAccuracy const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(double) MovementThreshold() const;
|
||||
WINRT_IMPL_AUTO(void) MovementThreshold(double value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const;
|
||||
WINRT_IMPL_AUTO(void) ReportInterval(uint32_t value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionStatus) LocationStatus() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geoposition>) GetGeopositionAsync() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geoposition>) GetGeopositionAsync(winrt::Windows::Foundation::TimeSpan const& maximumAge, winrt::Windows::Foundation::TimeSpan const& timeout) const;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> const& handler) const;
|
||||
[[nodiscard]] auto DesiredAccuracy() const;
|
||||
auto DesiredAccuracy(winrt::Windows::Devices::Geolocation::PositionAccuracy const& value) const;
|
||||
[[nodiscard]] auto MovementThreshold() const;
|
||||
auto MovementThreshold(double value) const;
|
||||
[[nodiscard]] auto ReportInterval() const;
|
||||
auto ReportInterval(uint32_t value) const;
|
||||
[[nodiscard]] auto LocationStatus() const;
|
||||
auto GetGeopositionAsync() const;
|
||||
auto GetGeopositionAsync(winrt::Windows::Foundation::TimeSpan const& maximumAge, winrt::Windows::Foundation::TimeSpan const& timeout) const;
|
||||
auto PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> const& handler) const;
|
||||
using PositionChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Geolocation::IGeolocator, &impl::abi_t<winrt::Windows::Devices::Geolocation::IGeolocator>::remove_PositionChanged>;
|
||||
[[nodiscard]] PositionChanged_revoker PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) PositionChanged(winrt::event_token const& token) const noexcept;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> const& handler) const;
|
||||
[[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> const& handler) const;
|
||||
auto PositionChanged(winrt::event_token const& token) const noexcept;
|
||||
auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> const& handler) const;
|
||||
using StatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Geolocation::IGeolocator, &impl::abi_t<winrt::Windows::Devices::Geolocation::IGeolocator>::remove_StatusChanged>;
|
||||
[[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) StatusChanged(winrt::event_token const& token) const noexcept;
|
||||
[[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> const& handler) const;
|
||||
auto StatusChanged(winrt::event_token const& token) const noexcept;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeolocator>
|
||||
{
|
||||
@@ -731,7 +729,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeolocator2
|
||||
{
|
||||
WINRT_IMPL_AUTO(void) AllowFallbackToConsentlessPositions() const;
|
||||
auto AllowFallbackToConsentlessPositions() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeolocator2>
|
||||
{
|
||||
@@ -740,9 +738,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeolocatorStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::GeolocationAccessStatus>) RequestAccessAsync() const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geoposition>>) GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geoposition>>) GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const;
|
||||
auto RequestAccessAsync() const;
|
||||
auto GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime) const;
|
||||
auto GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeolocatorStatics>
|
||||
{
|
||||
@@ -751,9 +749,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeolocatorStatics2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsDefaultGeopositionRecommended() const;
|
||||
WINRT_IMPL_AUTO(void) DefaultGeoposition(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& value) const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Geolocation::BasicGeoposition>) DefaultGeoposition() const;
|
||||
[[nodiscard]] auto IsDefaultGeopositionRecommended() const;
|
||||
auto DefaultGeoposition(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& value) const;
|
||||
[[nodiscard]] auto DefaultGeoposition() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeolocatorStatics2>
|
||||
{
|
||||
@@ -762,8 +760,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) DesiredAccuracyInMeters() const;
|
||||
WINRT_IMPL_AUTO(void) DesiredAccuracyInMeters(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
|
||||
[[nodiscard]] auto DesiredAccuracyInMeters() const;
|
||||
auto DesiredAccuracyInMeters(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeolocatorWithScalarAccuracy>
|
||||
{
|
||||
@@ -772,7 +770,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeopath
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::BasicGeoposition>) Positions() const;
|
||||
[[nodiscard]] auto Positions() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeopath>
|
||||
{
|
||||
@@ -781,9 +779,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeopathFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) Create(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) CreateWithAltitudeReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) CreateWithAltitudeReferenceAndSpatialReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const;
|
||||
auto Create(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions) const;
|
||||
auto CreateWithAltitudeReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const;
|
||||
auto CreateWithAltitudeReferenceAndSpatialReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeopathFactory>
|
||||
{
|
||||
@@ -792,7 +790,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeopoint
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) Position() const;
|
||||
[[nodiscard]] auto Position() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeopoint>
|
||||
{
|
||||
@@ -801,9 +799,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeopointFactory
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const;
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const;
|
||||
auto Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position) const;
|
||||
auto CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const;
|
||||
auto CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeopointFactory>
|
||||
{
|
||||
@@ -812,8 +810,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeoposition
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocoordinate) Coordinate() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::CivicAddress) CivicAddress() const;
|
||||
[[nodiscard]] auto Coordinate() const;
|
||||
[[nodiscard]] auto CivicAddress() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeoposition>
|
||||
{
|
||||
@@ -822,7 +820,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeoposition2
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VenueData) VenueData() const;
|
||||
[[nodiscard]] auto VenueData() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeoposition2>
|
||||
{
|
||||
@@ -831,9 +829,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeoshape
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoshapeType) GeoshapeType() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SpatialReferenceId() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem) AltitudeReferenceSystem() const;
|
||||
[[nodiscard]] auto GeoshapeType() const;
|
||||
[[nodiscard]] auto SpatialReferenceId() const;
|
||||
[[nodiscard]] auto AltitudeReferenceSystem() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeoshape>
|
||||
{
|
||||
@@ -842,9 +840,9 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeovisit
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) Position() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VisitStateChange) StateChange() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const;
|
||||
[[nodiscard]] auto Position() const;
|
||||
[[nodiscard]] auto StateChange() const;
|
||||
[[nodiscard]] auto Timestamp() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeovisit>
|
||||
{
|
||||
@@ -853,13 +851,13 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeovisitMonitor
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VisitMonitoringScope) MonitoringScope() const;
|
||||
WINRT_IMPL_AUTO(void) Start(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const;
|
||||
WINRT_IMPL_AUTO(void) Stop() const;
|
||||
WINRT_IMPL_AUTO(winrt::event_token) VisitStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> const& handler) const;
|
||||
[[nodiscard]] auto MonitoringScope() const;
|
||||
auto Start(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const;
|
||||
auto Stop() const;
|
||||
auto VisitStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> const& handler) const;
|
||||
using VisitStateChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Geolocation::IGeovisitMonitor, &impl::abi_t<winrt::Windows::Devices::Geolocation::IGeovisitMonitor>::remove_VisitStateChanged>;
|
||||
[[nodiscard]] VisitStateChanged_revoker VisitStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> const& handler) const;
|
||||
WINRT_IMPL_AUTO(void) VisitStateChanged(winrt::event_token const& token) const noexcept;
|
||||
[[nodiscard]] auto VisitStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> const& handler) const;
|
||||
auto VisitStateChanged(winrt::event_token const& token) const noexcept;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeovisitMonitor>
|
||||
{
|
||||
@@ -868,7 +866,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeovisitMonitorStatics
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geovisit>) GetLastReportAsync() const;
|
||||
auto GetLastReportAsync() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeovisitMonitorStatics>
|
||||
{
|
||||
@@ -877,7 +875,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeovisitStateChangedEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geovisit) Visit() const;
|
||||
[[nodiscard]] auto Visit() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeovisitStateChangedEventArgs>
|
||||
{
|
||||
@@ -886,7 +884,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IGeovisitTriggerDetails
|
||||
{
|
||||
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geovisit>) ReadReports() const;
|
||||
auto ReadReports() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeovisitTriggerDetails>
|
||||
{
|
||||
@@ -895,7 +893,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IPositionChangedEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) Position() const;
|
||||
[[nodiscard]] auto Position() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IPositionChangedEventArgs>
|
||||
{
|
||||
@@ -904,7 +902,7 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IStatusChangedEventArgs
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionStatus) Status() const;
|
||||
[[nodiscard]] auto Status() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IStatusChangedEventArgs>
|
||||
{
|
||||
@@ -913,8 +911,8 @@ namespace winrt::impl
|
||||
template <typename D>
|
||||
struct consume_Windows_Devices_Geolocation_IVenueData
|
||||
{
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
|
||||
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Level() const;
|
||||
[[nodiscard]] auto Id() const;
|
||||
[[nodiscard]] auto Level() const;
|
||||
};
|
||||
template <> struct consume<winrt::Windows::Devices::Geolocation::IVenueData>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user