interface ICoreWebView2ExperimentalFrame7

Note

This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.

interface ICoreWebView2ExperimentalFrame7
  : public IUnknown

A continuation of the ICoreWebView2Frame interface to support UseOverrideTimerWakeInterval property.

Summary

Members Descriptions
get_UseOverrideTimerWakeInterval Gets the UseOverrideTimerWakeInterval property.
put_UseOverrideTimerWakeInterval Indicates whether timer wake interval should be overridden for the frame.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease 1.0.2730

Members

get_UseOverrideTimerWakeInterval

Gets the UseOverrideTimerWakeInterval property.

public HRESULT get_UseOverrideTimerWakeInterval(BOOL * value)

put_UseOverrideTimerWakeInterval

Indicates whether timer wake interval should be overridden for the frame.

public HRESULT put_UseOverrideTimerWakeInterval(BOOL value)

When TRUE, timers in the frame will run at most at the interval set by PreferredOverrideTimerWakeIntervalInMilliseconds. All frames in the WebView that set this property to TRUE are subject to the same timer wake interval. When FALSE, and for main frame, the timer wake interval will be determined by page state and the corresponding interval value for that state, set by the matching property in CoreWebView2Settings. Defaults to FALSE unless set otherwise.