// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_Media_Core_Preview_2_H #define WINRT_Windows_Media_Core_Preview_2_H #include "winrt/impl/Windows.Foundation.1.h" #include "winrt/impl/Windows.Media.Core.Preview.1.h" WINRT_EXPORT namespace winrt::Windows::Media::Core::Preview { struct SoundLevelBroker { SoundLevelBroker() = delete; [[nodiscard]] static auto SoundLevel(); static auto SoundLevelChanged(winrt::Windows::Foundation::EventHandler const& handler); using SoundLevelChanged_revoker = impl::factory_event_revoker::remove_SoundLevelChanged>; [[nodiscard]] static auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler); static auto SoundLevelChanged(winrt::event_token const& token); }; } #endif