IdleDetectionOptions Class
The host hooks of the Idle Detection API (https://wicg.github.io/idle-detection/, BrowsingContextOptions.IdleDetection).
public sealed class IdleDetectionOptionsConstructors
| Name | Description |
|---|---|
| IdleDetectionOptions() |
IdleDetectionOptions()
public IdleDetectionOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Provider | Gets or sets the source of the idle state of the user and of the screen (IdleDetector), e.g. an IdleStateProvider whose IdleStateProvider.Status is set by the application, or a subclass that reads the state of the operating system. A provider can be shared by several browsing contexts. The default is null: the user is active and the screen is unlocked (IdleStatus.Default). |
Provider
IdleDetection.csGets or sets the source of the idle state of the user and of the screen (IdleDetector), e.g. an IdleStateProvider whose IdleStateProvider.Status is set by the application, or a subclass that reads the state of the operating system. A provider can be shared by several browsing contexts. The default is null: the user is active and the screen is unlocked (IdleStatus.Default).
public IdleStateProvider? Provider { get; init; }