mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +00:00
Conflicts: Essentials Devices Common/Essentials Devices Common/Codec/CodecActiveCallItem.cs
46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
|
|
namespace PepperDash.Essentials.Core
|
|
{
|
|
/// <summary>
|
|
/// Adds control of codec receive volume
|
|
/// </summary>
|
|
public interface IReceiveVolume
|
|
{
|
|
// Break this out into 3 interfaces
|
|
void SetReceiveVolume(ushort level);
|
|
void ReceiveMuteOn();
|
|
void ReceiveMuteOff();
|
|
void ReceiveMuteToggle();
|
|
IntFeedback ReceiveLevelFeedback { get; }
|
|
BoolFeedback ReceiveMuteIsOnFeedback { get; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Adds control of codec transmit volume
|
|
/// </summary>
|
|
public interface ITransmitVolume
|
|
{
|
|
void SetTransmitVolume(ushort level);
|
|
void TransmitMuteOn();
|
|
void TransmitMuteOff();
|
|
void TransmitMuteToggle();
|
|
IntFeedback TransmitLevelFeedback { get; }
|
|
BoolFeedback TransmitMuteIsOnFeedback { get; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Adds control of codec privacy function (microphone mute)
|
|
/// </summary>
|
|
public interface IPrivacy
|
|
{
|
|
void PrivacyModeOn();
|
|
void PrivacyModeOff();
|
|
void PrivacyModeToggle();
|
|
BoolFeedback PrivacyModeIsOnFeedback { get; }
|
|
}
|
|
} |