// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_ApplicationModel_CommunicationBlocking_2_H #define WINRT_Windows_ApplicationModel_CommunicationBlocking_2_H #include "winrt/impl/Windows.Foundation.Collections.1.h" #include "winrt/impl/Windows.ApplicationModel.CommunicationBlocking.1.h" WINRT_EXPORT namespace winrt::Windows::ApplicationModel::CommunicationBlocking { struct CommunicationBlockingAccessManager { CommunicationBlockingAccessManager() = delete; [[nodiscard]] static auto IsBlockingActive(); static auto IsBlockedNumberAsync(param::hstring const& number); static auto ShowBlockNumbersUI(param::iterable const& phoneNumbers); static auto ShowUnblockNumbersUI(param::iterable const& phoneNumbers); static auto ShowBlockedCallsUI(); static auto ShowBlockedMessagesUI(); }; struct CommunicationBlockingAppManager { CommunicationBlockingAppManager() = delete; [[nodiscard]] static auto IsCurrentAppActiveBlockingApp(); static auto ShowCommunicationBlockingSettingsUI(); static auto RequestSetAsActiveBlockingAppAsync(); }; } #endif