Table of Contents

Interface IPlatformBehaviorInhibition

Namespace
Avalonia.Platform
Assembly
Avalonia.Base.dll

Allows to inhibit platform specific behavior.

public interface IPlatformBehaviorInhibition

Methods

SetInhibitAppSleep(bool, string)

Task SetInhibitAppSleep(bool inhibitAppSleep, string reason)

Parameters

inhibitAppSleep bool
reason string

Returns

Task