mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
28 lines
651 B
C#
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);
|
|
}
|