Remotely/Shared/Interfaces/IDesktopHubClient.cs
2024-07-16 09:25:15 -07:00

28 lines
651 B
C#

using Remotely.Shared.Enums;
using Remotely.Shared.Models;
namespace Remotely.Shared.Interfaces;
public interface IDesktopHubClient
{
Task Disconnect(string reason);
Task GetScreenCast(
string viewerId,
string requesterName,
bool notifyUser,
Guid streamId);
Task<PromptForAccessResult> PromptForAccess(RemoteControlAccessRequest accessRequest);
Task RequestScreenCast(
string viewerId,
string requesterName,
bool notifyUser,
Guid streamId);
Task SendDtoToClient(byte[] dtoWrapper, string viewerConnectionId);
Task ViewerDisconnected(string viewerId);
}