Latest update for winrt

PiperOrigin-RevId: 452591835
This commit is contained in:
jfcarroll
2022-06-02 12:05:19 -07:00
committed by Copybara-Service
parent 11558b453c
commit 28da839987
1366 changed files with 69568 additions and 70576 deletions
@@ -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_Sms_0_H
@@ -9,14 +9,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
struct IAsyncAction;
template <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
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 K, typename V> struct __declspec(empty_bases) IMap;
template <typename T> struct __declspec(empty_bases) IVectorView;
template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -738,28 +735,28 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsAppMessage
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const;
WINRT_IMPL_AUTO(void) To(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const;
WINRT_IMPL_AUTO(void) Body(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) CallbackNumber() const;
WINRT_IMPL_AUTO(void) CallbackNumber(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsDeliveryNotificationEnabled() const;
WINRT_IMPL_AUTO(void) IsDeliveryNotificationEnabled(bool value) const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) RetryAttemptCount() const;
WINRT_IMPL_AUTO(void) RetryAttemptCount(int32_t value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) Encoding() const;
WINRT_IMPL_AUTO(void) Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) PortNumber() const;
WINRT_IMPL_AUTO(void) PortNumber(int32_t value) const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) TeleserviceId() const;
WINRT_IMPL_AUTO(void) TeleserviceId(int32_t value) const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) ProtocolId() const;
WINRT_IMPL_AUTO(void) ProtocolId(int32_t value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) BinaryBody() const;
WINRT_IMPL_AUTO(void) BinaryBody(winrt::Windows::Storage::Streams::IBuffer const& value) const;
[[nodiscard]] auto Timestamp() const;
[[nodiscard]] auto To() const;
auto To(param::hstring const& value) const;
[[nodiscard]] auto From() const;
[[nodiscard]] auto Body() const;
auto Body(param::hstring const& value) const;
[[nodiscard]] auto CallbackNumber() const;
auto CallbackNumber(param::hstring const& value) const;
[[nodiscard]] auto IsDeliveryNotificationEnabled() const;
auto IsDeliveryNotificationEnabled(bool value) const;
[[nodiscard]] auto RetryAttemptCount() const;
auto RetryAttemptCount(int32_t value) const;
[[nodiscard]] auto Encoding() const;
auto Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const;
[[nodiscard]] auto PortNumber() const;
auto PortNumber(int32_t value) const;
[[nodiscard]] auto TeleserviceId() const;
auto TeleserviceId(int32_t value) const;
[[nodiscard]] auto ProtocolId() const;
auto ProtocolId(int32_t value) const;
[[nodiscard]] auto BinaryBody() const;
auto BinaryBody(winrt::Windows::Storage::Streams::IBuffer const& value) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsAppMessage>
{
@@ -768,10 +765,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsBinaryMessage
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDataFormat) Format() const;
WINRT_IMPL_AUTO(void) Format(winrt::Windows::Devices::Sms::SmsDataFormat const& value) const;
WINRT_IMPL_AUTO(com_array<uint8_t>) GetData() const;
WINRT_IMPL_AUTO(void) SetData(array_view<uint8_t const> value) const;
[[nodiscard]] auto Format() const;
auto Format(winrt::Windows::Devices::Sms::SmsDataFormat const& value) const;
auto GetData() const;
auto SetData(array_view<uint8_t const> value) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsBinaryMessage>
{
@@ -780,16 +777,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsBroadcastMessage
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) Channel() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsGeographicalScope) GeographicalScope() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) MessageCode() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) UpdateNumber() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBroadcastType) BroadcastType() const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsEmergencyAlert() const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsUserPopupRequested() const;
[[nodiscard]] auto Timestamp() const;
[[nodiscard]] auto To() const;
[[nodiscard]] auto Body() const;
[[nodiscard]] auto Channel() const;
[[nodiscard]] auto GeographicalScope() const;
[[nodiscard]] auto MessageCode() const;
[[nodiscard]] auto UpdateNumber() const;
[[nodiscard]] auto BroadcastType() const;
[[nodiscard]] auto IsEmergencyAlert() const;
[[nodiscard]] auto IsUserPopupRequested() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsBroadcastMessage>
{
@@ -798,20 +795,20 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsDevice
{
WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SendSmsMessageOperation) SendMessageAsync(winrt::Windows::Devices::Sms::ISmsMessage const& message) const;
WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncodedLength) CalculateLength(winrt::Windows::Devices::Sms::SmsTextMessage const& message) const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) AccountPhoneNumber() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) CellularClass() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceMessageStore) MessageStore() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceStatus) DeviceStatus() const;
WINRT_IMPL_AUTO(winrt::event_token) SmsMessageReceived(winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const;
auto SendMessageAsync(winrt::Windows::Devices::Sms::ISmsMessage const& message) const;
auto CalculateLength(winrt::Windows::Devices::Sms::SmsTextMessage const& message) const;
[[nodiscard]] auto AccountPhoneNumber() const;
[[nodiscard]] auto CellularClass() const;
[[nodiscard]] auto MessageStore() const;
[[nodiscard]] auto DeviceStatus() const;
auto SmsMessageReceived(winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const;
using SmsMessageReceived_revoker = impl::event_revoker<winrt::Windows::Devices::Sms::ISmsDevice, &impl::abi_t<winrt::Windows::Devices::Sms::ISmsDevice>::remove_SmsMessageReceived>;
[[nodiscard]] SmsMessageReceived_revoker SmsMessageReceived(auto_revoke_t, winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const;
WINRT_IMPL_AUTO(void) SmsMessageReceived(winrt::event_token const& eventCookie) const noexcept;
WINRT_IMPL_AUTO(winrt::event_token) SmsDeviceStatusChanged(winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const;
[[nodiscard]] auto SmsMessageReceived(auto_revoke_t, winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const;
auto SmsMessageReceived(winrt::event_token const& eventCookie) const noexcept;
auto SmsDeviceStatusChanged(winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const;
using SmsDeviceStatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sms::ISmsDevice, &impl::abi_t<winrt::Windows::Devices::Sms::ISmsDevice>::remove_SmsDeviceStatusChanged>;
[[nodiscard]] SmsDeviceStatusChanged_revoker SmsDeviceStatusChanged(auto_revoke_t, winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const;
WINRT_IMPL_AUTO(void) SmsDeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept;
[[nodiscard]] auto SmsDeviceStatusChanged(auto_revoke_t, winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const;
auto SmsDeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsDevice>
{
@@ -820,19 +817,19 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsDevice2
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) SmscAddress() const;
WINRT_IMPL_AUTO(void) SmscAddress(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) ParentDeviceId() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) AccountPhoneNumber() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) CellularClass() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceStatus) DeviceStatus() const;
WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncodedLength) CalculateLength(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsSendMessageResult>) SendMessageAndGetResultAsync(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const;
WINRT_IMPL_AUTO(winrt::event_token) DeviceStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
[[nodiscard]] auto SmscAddress() const;
auto SmscAddress(param::hstring const& value) const;
[[nodiscard]] auto DeviceId() const;
[[nodiscard]] auto ParentDeviceId() const;
[[nodiscard]] auto AccountPhoneNumber() const;
[[nodiscard]] auto CellularClass() const;
[[nodiscard]] auto DeviceStatus() const;
auto CalculateLength(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const;
auto SendMessageAndGetResultAsync(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const;
auto DeviceStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using DeviceStatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sms::ISmsDevice2, &impl::abi_t<winrt::Windows::Devices::Sms::ISmsDevice2>::remove_DeviceStatusChanged>;
[[nodiscard]] DeviceStatusChanged_revoker DeviceStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
WINRT_IMPL_AUTO(void) DeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept;
[[nodiscard]] auto DeviceStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
auto DeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsDevice2>
{
@@ -841,10 +838,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsDevice2Statics
{
WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) FromId(param::hstring const& deviceId) const;
WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) GetDefault() const;
WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) FromParentId(param::hstring const& parentDeviceId) const;
auto GetDeviceSelector() const;
auto FromId(param::hstring const& deviceId) const;
auto GetDefault() const;
auto FromParentId(param::hstring const& parentDeviceId) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsDevice2Statics>
{
@@ -853,11 +850,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsDeviceMessageStore
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteMessageAsync(uint32_t messageId) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::ISmsMessage>) GetMessageAsync(uint32_t messageId) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sms::ISmsMessage>, int32_t>) GetMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxMessages() const;
auto DeleteMessageAsync(uint32_t messageId) const;
auto DeleteMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const;
auto GetMessageAsync(uint32_t messageId) const;
auto GetMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const;
[[nodiscard]] auto MaxMessages() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsDeviceMessageStore>
{
@@ -866,9 +863,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsDeviceStatics
{
WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsDevice>) FromIdAsync(param::hstring const& deviceId) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsDevice>) GetDefaultAsync() const;
auto GetDeviceSelector() const;
auto FromIdAsync(param::hstring const& deviceId) const;
auto GetDefaultAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsDeviceStatics>
{
@@ -877,7 +874,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsDeviceStatics2
{
WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsDevice>) FromNetworkAccountIdAsync(param::hstring const& networkAccountId) const;
auto FromNetworkAccountIdAsync(param::hstring const& networkAccountId) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsDeviceStatics2>
{
@@ -886,20 +883,20 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsFilterRule
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) MessageType() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) ImsiPrefixes() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) DeviceIds() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) SenderNumbers() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) TextMessagePrefixes() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<int32_t>) PortNumbers() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) CellularClass() const;
WINRT_IMPL_AUTO(void) CellularClass(winrt::Windows::Devices::Sms::CellularClass const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<int32_t>) ProtocolIds() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<int32_t>) TeleserviceIds() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) WapApplicationIds() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) WapContentTypes() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sms::SmsBroadcastType>) BroadcastTypes() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<int32_t>) BroadcastChannels() const;
[[nodiscard]] auto MessageType() const;
[[nodiscard]] auto ImsiPrefixes() const;
[[nodiscard]] auto DeviceIds() const;
[[nodiscard]] auto SenderNumbers() const;
[[nodiscard]] auto TextMessagePrefixes() const;
[[nodiscard]] auto PortNumbers() const;
[[nodiscard]] auto CellularClass() const;
auto CellularClass(winrt::Windows::Devices::Sms::CellularClass const& value) const;
[[nodiscard]] auto ProtocolIds() const;
[[nodiscard]] auto TeleserviceIds() const;
[[nodiscard]] auto WapApplicationIds() const;
[[nodiscard]] auto WapContentTypes() const;
[[nodiscard]] auto BroadcastTypes() const;
[[nodiscard]] auto BroadcastChannels() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsFilterRule>
{
@@ -908,7 +905,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsFilterRuleFactory
{
WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterRule) CreateFilterRule(winrt::Windows::Devices::Sms::SmsMessageType const& messageType) const;
auto CreateFilterRule(winrt::Windows::Devices::Sms::SmsMessageType const& messageType) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsFilterRuleFactory>
{
@@ -917,8 +914,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsFilterRules
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterActionType) ActionType() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sms::SmsFilterRule>) Rules() const;
[[nodiscard]] auto ActionType() const;
[[nodiscard]] auto Rules() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsFilterRules>
{
@@ -927,7 +924,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsFilterRulesFactory
{
WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterRules) CreateFilterRules(winrt::Windows::Devices::Sms::SmsFilterActionType const& actionType) const;
auto CreateFilterRules(winrt::Windows::Devices::Sms::SmsFilterActionType const& actionType) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsFilterRulesFactory>
{
@@ -936,8 +933,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsMessage
{
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) MessageClass() const;
[[nodiscard]] auto Id() const;
[[nodiscard]] auto MessageClass() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsMessage>
{
@@ -946,11 +943,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsMessageBase
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) MessageType() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) CellularClass() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) MessageClass() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) SimIccId() const;
[[nodiscard]] auto MessageType() const;
[[nodiscard]] auto DeviceId() const;
[[nodiscard]] auto CellularClass() const;
[[nodiscard]] auto MessageClass() const;
[[nodiscard]] auto SimIccId() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsMessageBase>
{
@@ -959,8 +956,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) TextMessage() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBinaryMessage) BinaryMessage() const;
[[nodiscard]] auto TextMessage() const;
[[nodiscard]] auto BinaryMessage() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsMessageReceivedEventArgs>
{
@@ -969,15 +966,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) MessageType() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage2) TextMessage() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsWapMessage) WapMessage() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsAppMessage) AppMessage() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBroadcastMessage) BroadcastMessage() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsVoicemailMessage) VoicemailMessage() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsStatusMessage) StatusMessage() const;
WINRT_IMPL_AUTO(void) Drop() const;
WINRT_IMPL_AUTO(void) Accept() const;
[[nodiscard]] auto MessageType() const;
[[nodiscard]] auto TextMessage() const;
[[nodiscard]] auto WapMessage() const;
[[nodiscard]] auto AppMessage() const;
[[nodiscard]] auto BroadcastMessage() const;
[[nodiscard]] auto VoicemailMessage() const;
[[nodiscard]] auto StatusMessage() const;
auto Drop() const;
auto Accept() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails>
{
@@ -986,12 +983,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsMessageRegistration
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
WINRT_IMPL_AUTO(void) Unregister() const;
WINRT_IMPL_AUTO(winrt::event_token) MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> const& eventHandler) const;
[[nodiscard]] auto Id() const;
auto Unregister() const;
auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> const& eventHandler) const;
using MessageReceived_revoker = impl::event_revoker<winrt::Windows::Devices::Sms::ISmsMessageRegistration, &impl::abi_t<winrt::Windows::Devices::Sms::ISmsMessageRegistration>::remove_MessageReceived>;
[[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> const& eventHandler) const;
WINRT_IMPL_AUTO(void) MessageReceived(winrt::event_token const& eventCookie) const noexcept;
[[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> const& eventHandler) const;
auto MessageReceived(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsMessageRegistration>
{
@@ -1000,8 +997,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sms::SmsMessageRegistration>) AllRegistrations() const;
WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageRegistration) Register(param::hstring const& id, winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const;
[[nodiscard]] auto AllRegistrations() const;
auto Register(param::hstring const& id, winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsMessageRegistrationStatics>
{
@@ -1010,8 +1007,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsReceivedEventDetails
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MessageIndex() const;
[[nodiscard]] auto DeviceId() const;
[[nodiscard]] auto MessageIndex() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsReceivedEventDetails>
{
@@ -1020,8 +1017,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsReceivedEventDetails2
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) MessageClass() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBinaryMessage) BinaryMessage() const;
[[nodiscard]] auto MessageClass() const;
[[nodiscard]] auto BinaryMessage() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsReceivedEventDetails2>
{
@@ -1030,13 +1027,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsSendMessageResult
{
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuccessful() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int32_t>) MessageReferenceNumbers() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) CellularClass() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsModemErrorCode) ModemErrorCode() const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsErrorTransient() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) NetworkCauseCode() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) TransportFailureCause() const;
[[nodiscard]] auto IsSuccessful() const;
[[nodiscard]] auto MessageReferenceNumbers() const;
[[nodiscard]] auto CellularClass() const;
[[nodiscard]] auto ModemErrorCode() const;
[[nodiscard]] auto IsErrorTransient() const;
[[nodiscard]] auto NetworkCauseCode() const;
[[nodiscard]] auto TransportFailureCause() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsSendMessageResult>
{
@@ -1045,13 +1042,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsStatusMessage
{
[[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) MessageReferenceNumber() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) ServiceCenterTimestamp() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) DischargeTime() const;
[[nodiscard]] auto To() const;
[[nodiscard]] auto From() const;
[[nodiscard]] auto Body() const;
[[nodiscard]] auto Status() const;
[[nodiscard]] auto MessageReferenceNumber() const;
[[nodiscard]] auto ServiceCenterTimestamp() const;
[[nodiscard]] auto DischargeTime() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsStatusMessage>
{
@@ -1060,19 +1057,19 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsTextMessage
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PartReferenceId() const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PartNumber() const;
[[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PartCount() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const;
WINRT_IMPL_AUTO(void) To(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const;
WINRT_IMPL_AUTO(void) From(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const;
WINRT_IMPL_AUTO(void) Body(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) Encoding() const;
WINRT_IMPL_AUTO(void) Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const;
WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sms::ISmsBinaryMessage>) ToBinaryMessages(winrt::Windows::Devices::Sms::SmsDataFormat const& format) const;
[[nodiscard]] auto Timestamp() const;
[[nodiscard]] auto PartReferenceId() const;
[[nodiscard]] auto PartNumber() const;
[[nodiscard]] auto PartCount() const;
[[nodiscard]] auto To() const;
auto To(param::hstring const& value) const;
[[nodiscard]] auto From() const;
auto From(param::hstring const& value) const;
[[nodiscard]] auto Body() const;
auto Body(param::hstring const& value) const;
[[nodiscard]] auto Encoding() const;
auto Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const;
auto ToBinaryMessages(winrt::Windows::Devices::Sms::SmsDataFormat const& format) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsTextMessage>
{
@@ -1081,22 +1078,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsTextMessage2
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const;
WINRT_IMPL_AUTO(void) To(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const;
WINRT_IMPL_AUTO(void) Body(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) Encoding() const;
WINRT_IMPL_AUTO(void) Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) CallbackNumber() const;
WINRT_IMPL_AUTO(void) CallbackNumber(param::hstring const& value) const;
[[nodiscard]] WINRT_IMPL_AUTO(bool) IsDeliveryNotificationEnabled() const;
WINRT_IMPL_AUTO(void) IsDeliveryNotificationEnabled(bool value) const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) RetryAttemptCount() const;
WINRT_IMPL_AUTO(void) RetryAttemptCount(int32_t value) const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) TeleserviceId() const;
[[nodiscard]] WINRT_IMPL_AUTO(int32_t) ProtocolId() const;
[[nodiscard]] auto Timestamp() const;
[[nodiscard]] auto To() const;
auto To(param::hstring const& value) const;
[[nodiscard]] auto From() const;
[[nodiscard]] auto Body() const;
auto Body(param::hstring const& value) const;
[[nodiscard]] auto Encoding() const;
auto Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const;
[[nodiscard]] auto CallbackNumber() const;
auto CallbackNumber(param::hstring const& value) const;
[[nodiscard]] auto IsDeliveryNotificationEnabled() const;
auto IsDeliveryNotificationEnabled(bool value) const;
[[nodiscard]] auto RetryAttemptCount() const;
auto RetryAttemptCount(int32_t value) const;
[[nodiscard]] auto TeleserviceId() const;
[[nodiscard]] auto ProtocolId() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsTextMessage2>
{
@@ -1105,8 +1102,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsTextMessageStatics
{
WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) FromBinaryMessage(winrt::Windows::Devices::Sms::SmsBinaryMessage const& binaryMessage) const;
WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) FromBinaryData(winrt::Windows::Devices::Sms::SmsDataFormat const& format, array_view<uint8_t const> value) const;
auto FromBinaryMessage(winrt::Windows::Devices::Sms::SmsBinaryMessage const& binaryMessage) const;
auto FromBinaryData(winrt::Windows::Devices::Sms::SmsDataFormat const& format, array_view<uint8_t const> value) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsTextMessageStatics>
{
@@ -1115,10 +1112,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsVoicemailMessage
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) Body() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MessageCount() const;
[[nodiscard]] auto Timestamp() const;
[[nodiscard]] auto To() const;
[[nodiscard]] auto Body() const;
[[nodiscard]] auto MessageCount() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsVoicemailMessage>
{
@@ -1127,13 +1124,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsWapMessage
{
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) To() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) From() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) ApplicationId() const;
[[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentType() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) BinaryBody() const;
[[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) Headers() const;
[[nodiscard]] auto Timestamp() const;
[[nodiscard]] auto To() const;
[[nodiscard]] auto From() const;
[[nodiscard]] auto ApplicationId() const;
[[nodiscard]] auto ContentType() const;
[[nodiscard]] auto BinaryBody() const;
[[nodiscard]] auto Headers() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsWapMessage>
{