mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-08-18 15:20:47 +08:00
22 lines
738 B
C#
22 lines
738 B
C#
namespace LanMountainDesktop.AirAppIsolation.Contracts;
|
|
|
|
public sealed record AirAppSessionHandshakeRequest(
|
|
string AirAppId,
|
|
string SessionId,
|
|
string RuntimeMode,
|
|
string ProtocolVersion,
|
|
IReadOnlyList<AirAppCapabilityDeclaration>? RequestedCapabilities = null,
|
|
IReadOnlyDictionary<string, string>? Metadata = null);
|
|
|
|
public sealed record AirAppSessionHandshakeResponse(
|
|
bool Accepted,
|
|
string ProtocolVersion,
|
|
IReadOnlyList<AirAppCapabilityDeclaration>? GrantedCapabilities = null,
|
|
string? ErrorCode = null,
|
|
string? ErrorMessage = null);
|
|
|
|
public sealed record AirAppReadyNotification(
|
|
string AirAppId,
|
|
string SessionId,
|
|
IReadOnlyList<AirAppUiSurfaceDescriptor>? UiSurfaces = null);
|