Files
desktop/WirelessTextSyncer.Windows/Models/SyncMessage.cs
Misaka 30da1680f2 Add system mute control via setMute action
Introduce a setMute protocol action and an NAudio-backed
AudioControlService so the Android client can toggle the Windows
render endpoint mute state over WebSocket.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 22:12:13 +08:00

16 lines
341 B
C#

using System.Text.Json.Serialization;
namespace WirelessTextSyncer.Windows.Models;
public sealed record SyncMessage
{
[JsonPropertyName("action")]
public SyncAction Action { get; init; }
[JsonPropertyName("text")]
public string? Text { get; init; }
[JsonPropertyName("muted")]
public bool? Muted { get; init; }
}