mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-01 13:55:05 +00:00
30 lines
777 B
C#
30 lines
777 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
|
|
using PepperDash.Essentials.Core;
|
|
|
|
namespace PepperDash.Essentials.Devices.Common.Codec
|
|
{
|
|
/// <summary>
|
|
/// Requirements for a device that has dialing capabilities
|
|
/// </summary>
|
|
public interface IHasDialer
|
|
{
|
|
// Add requirements for Dialer functionality
|
|
|
|
event EventHandler<CodecCallStatusItemChangeEventArgs> CallStatusChange;
|
|
|
|
void Dial(string number);
|
|
void EndCall(CodecActiveCallItem activeCall);
|
|
void EndAllCalls();
|
|
void AcceptCall(CodecActiveCallItem item);
|
|
void RejectCall(CodecActiveCallItem item);
|
|
void SendDtmf(string digit);
|
|
|
|
bool IsInCall { get; }
|
|
}
|
|
|
|
} |