IDesktopInhibitionLease interface

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

public interface IDesktopInhibitionLease : IAsyncDisposable

Inherits or implements IAsyncDisposable.

An operation-owned native inhibition request. Dispose as soon as the operation ends.

Remarks

Holding this request does not override user actions, battery/thermal policy or forced shutdown.

Properties

Effects

DesktopInhibitionEffects Effects { get; }

The requested effects, not a guarantee that desktop policy honors them.