enableWindowActivate abstract method
- bool active
Whether to activate the promotion of the window to the foreground.
Available since: 3.1.0
Description: When the capture target is a window, set whether to activate the window to be displayed in the foreground during the first capture.
When to call: It can be called after the engine by createScreenCaptureSource
has been initialized.
Restrictions: Only available on Windows/macOS.
active
Whether to activate the window. true to activate the window, false to not activate the window, the default is true.
Implementation
Future<void> enableWindowActivate(bool active);