/* * Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ using SafeExamBrowser.UserInterface.Contracts.Shell.Events; namespace SafeExamBrowser.UserInterface.Contracts.Shell { /// /// The control of the audio system component. /// public interface ISystemAudioControl : ISystemControl { /// /// Defines whether the computer has an audio output device. /// bool HasOutputDevice { set; } /// /// Indicates whether the current output device is muted. /// bool OutputDeviceMuted { set; } /// /// Shows the name of the currently active audio output device. /// string OutputDeviceName { set; } /// /// Shows the current audio output volume, where 0.0 is the lowest and 1.0 the highest possible value. /// double OutputDeviceVolume { set; } /// /// Event fired when the user requests to mute the current output device. /// event AudioMuteRequestedEventHandler MuteRequested; /// /// Event fired when the user requests to set the volume of the current output device. /// event AudioVolumeSelectedEventHandler VolumeSelected; } }