mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-24 01:45:07 +00:00
60 lines
1.4 KiB
C#
60 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
|
|
namespace PepperDash.Essentials.Core
|
|
{
|
|
/// <summary>
|
|
/// For rooms with in call feedback
|
|
/// </summary>
|
|
public interface IHasInCallFeedback
|
|
{
|
|
BoolFeedback InCallFeedback { get; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// For rooms with a single display
|
|
/// </summary>
|
|
public interface IHasDefaultDisplay
|
|
{
|
|
IRoutingSinkWithSwitching DefaultDisplay { get; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// For rooms with multiple displays
|
|
/// </summary>
|
|
public interface IHasMultipleDisplays
|
|
{
|
|
Dictionary<eSourceListItemDestinationTypes, IRoutingSinkWithSwitching> Displays { get; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// For rooms with routing
|
|
/// </summary>
|
|
public interface IRunRouteAction
|
|
{
|
|
void RunRouteAction(string routeKey, string sourceListKey);
|
|
|
|
void RunRouteAction(string routeKey, string sourceListKey, Action successCallback);
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// For rooms that default presentation only routing
|
|
/// </summary>
|
|
public interface IRunDefaultPresentRoute
|
|
{
|
|
bool RunDefaultPresentRoute();
|
|
}
|
|
|
|
/// <summary>
|
|
/// For rooms that have default presentation and calling routes
|
|
/// </summary>
|
|
public interface IRunDefaultCallRoute : IRunDefaultPresentRoute
|
|
{
|
|
bool RunDefaultCallRoute();
|
|
}
|
|
|
|
} |