mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-26 02:44:57 +00:00
92 lines
2.2 KiB
C#
92 lines
2.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
|
|
namespace PepperDash.Essentials.Core
|
|
{
|
|
/// <summary>
|
|
/// Requirements for a device that has dialing capabilities
|
|
/// </summary>
|
|
public interface IHasDialer
|
|
{
|
|
// Add requirements for Dialer functionality
|
|
|
|
void Dial(string number);
|
|
<<<<<<< HEAD
|
|
void EndCall(string number);
|
|
=======
|
|
void EndCall(object activeCall);
|
|
void EndAllCalls();
|
|
>>>>>>> origin/feature/cisco-spark-2
|
|
void AcceptCall();
|
|
void RejectCall();
|
|
void SendDtmf(string digit);
|
|
|
|
IntFeedback ActiveCallCountFeedback { get; }
|
|
BoolFeedback IncomingCallFeedback { get; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Defines minimum volume controls for a codec device with dialing capabilities
|
|
/// </summary>
|
|
public interface ICodecAudio : IBasicVolumeWithFeedback, IPrivacy
|
|
{
|
|
|
|
}
|
|
|
|
/// <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; }
|
|
}
|
|
|
|
public interface IHasCallHistory
|
|
{
|
|
// Add recent calls list
|
|
}
|
|
|
|
public interface IHasDirectory
|
|
{
|
|
|
|
}
|
|
|
|
public interface IHasObtp
|
|
{
|
|
|
|
// Upcoming Meeting warning event
|
|
}
|
|
} |