Skip to main content

IPlatformBehaviorInhibition Interface

Definition​

Assembly:Avalonia.Base
Package:Avalonia

Allows to inhibit platform specific behavior.

public interface IPlatformBehaviorInhibition

Methods​

NameDescription
SetInhibitAppSleepNo summary available.

SetInhibitAppSleep Method​

public System.Threading.Tasks.Task SetInhibitAppSleep(bool inhibitAppSleep, string reason)

Parameters​

inhibitAppSleep bool

reason string

Returns​

System.Threading.Tasks.Task