Header menu logo fable-electron-docs-api

Type Type

Union cases

Union case Description

PreventAppSuspension

Full Usage: PreventAppSuspension

Prevent the application from being suspended. Keeps system active but allows screen to be turned off. Example use cases: downloading a file or playing audio.

PreventDisplaySleep

Full Usage: PreventDisplaySleep

Prevent the display from going to sleep. Keeps system and screen active. Example use case: playing video.

Instance members

Instance member Description

this.IsPreventAppSuspension

Full Usage: this.IsPreventAppSuspension

Returns: bool
Returns: bool

this.IsPreventDisplaySleep

Full Usage: this.IsPreventDisplaySleep

Returns: bool
Returns: bool

Type something to start searching.