VisibilityStateEntry Class

A change of the visibility state of a document (https://html.spec.whatwg.org/multipage/interaction.html#the-visibilitystateentry-interface), reported to the visibility-state performance observers of its window and available from its performance timeline: its name is the visibility state (visible or hidden) and its start time is the time of the change (0 for the initial visibility state of the document).

public sealed class VisibilityStateEntry : PerformanceEntry
Inheritance
PerformanceEntry VisibilityStateEntry

Properties

NameDescription
DurationGets 0 (https://html.spec.whatwg.org/multipage/interaction.html#dom-visibilitystateentry-duration).
EntryTypeGets visibility-state (https://html.spec.whatwg.org/multipage/interaction.html#dom-visibilitystateentry-entrytype).
NameGets the visibility state: visible or hidden (https://html.spec.whatwg.org/multipage/interaction.html#dom-visibilitystateentry-name).
StartTimeGets the time of the change of the visibility state (https://html.spec.whatwg.org/multipage/interaction.html#dom-visibilitystateentry-starttime).

Gets 0 (https://html.spec.whatwg.org/multipage/interaction.html#dom-visibilitystateentry-duration).

public new uint Duration { get; }

Gets visibility-state (https://html.spec.whatwg.org/multipage/interaction.html#dom-visibilitystateentry-entrytype).

public new string EntryType { get; }

Gets the visibility state: visible or hidden (https://html.spec.whatwg.org/multipage/interaction.html#dom-visibilitystateentry-name).

public new string Name { get; }

Gets the time of the change of the visibility state (https://html.spec.whatwg.org/multipage/interaction.html#dom-visibilitystateentry-starttime).

public new double StartTime { get; }