IDesktopSettings interface

Namespace Runic.Platform · Runic.Platform 0.7.0-preview.5

public interface IDesktopSettings : IAsyncDisposable

Inherits or implements 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.