mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-02 06:14:52 +00:00
50 lines
1.7 KiB
C#
50 lines
1.7 KiB
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.VideoCodec
|
|
{
|
|
/// <summary>
|
|
/// Defines the required elements for layout control
|
|
/// </summary>
|
|
public interface IHasCodecLayouts
|
|
{
|
|
StringFeedback LocalLayoutFeedback { get; }
|
|
|
|
void LocalLayoutToggle();
|
|
void LocalLayoutToggleSingleProminent();
|
|
void MinMaxLayoutToggle();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Defines the requirements for Zoom Room layout control
|
|
/// </summary>
|
|
public interface IHasZoomRoomLayouts : IHasCodecLayouts
|
|
{
|
|
event EventHandler<LayoutInfoChangedEventArgs> AvailableLayoutsChanged;
|
|
|
|
BoolFeedback LayoutViewIsOnFirstPageFeedback { get; } // TODO: #697 [ ] Consider modifying to report button visibility in func
|
|
BoolFeedback LayoutViewIsOnLastPageFeedback { get; } // TODO: #697 [ ] Consider modifying to report button visibility in func
|
|
BoolFeedback CanSwapContentWithThumbnailFeedback { get; }
|
|
BoolFeedback ContentSwappedWithThumbnailFeedback { get; }
|
|
|
|
ZoomRoom.zConfiguration.eLayoutStyle LastSelectedLayout { get; }
|
|
ZoomRoom.zConfiguration.eLayoutStyle AvailableLayouts { get; }
|
|
|
|
void GetAvailableLayouts(); // Mot sure this is necessary if we're already subscribed to zStatus Call Layout
|
|
void SetLayout(ZoomRoom.zConfiguration.eLayoutStyle layoutStyle);
|
|
void SwapContentWithThumbnail();
|
|
|
|
void LayoutTurnNextPage();
|
|
void LayoutTurnPreviousPage();
|
|
}
|
|
|
|
public class LayoutInfoChangedEventArgs : EventArgs
|
|
{
|
|
public ZoomRoom.zConfiguration.eLayoutStyle AvailableLayouts { get; set; }
|
|
}
|
|
} |