public interface IDesktopSettings : IAsyncDisposable Application-scoped desktop preferences. Dispose to stop observation.
Methods
ReadAsync
ValueTask<PlatformResult<DesktopAppearance>> ReadAsync(CancellationToken cancellationToken = default) Reads the current native preferences.
WatchAsync
IAsyncEnumerable<PlatformResult<DesktopAppearance>> WatchAsync(CancellationToken cancellationToken = default) Emits an initial value and subsequent changes, including unavailability/recovery.