Compare commits

..

7 Commits

Author SHA1 Message Date
Joshua_Gutenplan
e9954b3081 fix: add GetRoomMessenger to IMobileControl 2024-05-02 12:07:00 -07:00
Joshua_Gutenplan
e1b50649fd fix: UiWebViewDisplayActionArgs add target 2024-04-30 21:41:53 -07:00
Joshua_Gutenplan
5e69ea1947 Merge remote-tracking branch 'origin/feature-2.0.0/tech-password-interface' into feature-2.0.0/video-codec-interface-uiextensions 2024-04-30 10:24:50 -07:00
Joshua_Gutenplan
fd1b92a6c0 Merge remote-tracking branch 'origin/feature-2.0.0/tech-password-interface' into feature-2.0.0/video-codec-interface-uiextensions 2024-04-25 19:13:46 -07:00
Joshua_Gutenplan
06d806687d feat: IMobileControlTouchpanelController 2024-04-25 15:29:44 -07:00
Joshua_Gutenplan
d8e2f8cd51 feat: IVideoCodecUiExtensions 2024-04-25 10:03:38 -07:00
Neil Dorin
5fad706cd8 Merge pull request #1179 from PepperDash/feature-2.0.0/soft-codec-routing
Update interfaces for Generic Soft Codec device
2024-04-12 10:31:03 -06:00
4 changed files with 82 additions and 1 deletions

View File

@@ -44,7 +44,10 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
void AddDeviceMessenger(IMobileControlMessenger messenger);
bool CheckForDeviceMessenger(string key);
}
IMobileControlRoomMessenger GetRoomMessenger(string key);
}
/// <summary>
/// Describes a mobile control messenger

View File

@@ -0,0 +1,12 @@
namespace PepperDash.Essentials.Devices.Common.VideoCodec.Interfaces
{
public interface IVideoCodecUiExtensionsHandler : IVideoCodecUiExtensionsWebViewDisplayAction, IVideoCodecUiExtensionsClickedEvent
{
}
public interface IVideoCodecUiExtensions
{
IVideoCodecUiExtensionsHandler VideoCodecUiExtensionsHandler { get; set; }
}
}

View File

@@ -0,0 +1,41 @@
using System;
namespace PepperDash.Essentials.Devices.Common.VideoCodec.Interfaces
{
public interface IVideoCodecUiExtensionsWebViewDisplayAction
{
Action<UiWebViewDisplayActionArgs> UiWebViewDisplayAction { get; set; }
}
public class UiWebViewDisplayActionArgs
{
/// <summary>
/// Required <0 - 2000> The URL of the web page.
/// </summary>
public string Url { get; set; }
/// <summary>
/// Fullscreen, Modal Full screen: Display the web page on the entire screen.Modal: Display the web page in a window.
/// </summary>
public string Mode { get; set; }
/// <summary>
/// <0 - 255> The title of the web page.
/// </summary>
public string Title { get; set; }
/// <summary>
/// <0 - 8192> An HTTP header field.You can add up 15 Header parameters in one command, each holding one HTTP header field.
/// </summary>
public string Header { get; set; }
/// <summary>
/// OSD, Controller, PersistentWebApp Controller: Only for Cisco internal use.
/// OSD: Close the web view that is displayed on the screen of the device.PersistentWebApp: Only for Cisco internal use.
/// </summary>
public string Target { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using System;
namespace PepperDash.Essentials.Devices.Common.VideoCodec.Interfaces
{
public interface IVideoCodecUiExtensionsClickedEvent
{
event EventHandler<UiExtensionsClickedEventArgs> UiExtensionsClickedEvent;
}
public class UiExtensionsClickedEventArgs : EventArgs
{
public bool Clicked { get; set; }
public string Id { get; set; }
public UiExtensionsClickedEventArgs(bool clicked, string id)
{
Clicked = clicked;
Id = id;
}
public UiExtensionsClickedEventArgs()
{
}
}
}