EmulationClientSetEmulatedVisionDeficiencyAsync Method |
Version 112.3.0
Emulates the given vision deficiency.
Namespace:
CefSharp.DevTools.Emulation
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 112.3.0.0
Syntax public Task<DevToolsMethodResponse> SetEmulatedVisionDeficiencyAsync(
SetEmulatedVisionDeficiencyType type
)
public:
Task<DevToolsMethodResponse^>^ SetEmulatedVisionDeficiencyAsync(
SetEmulatedVisionDeficiencyType type
)
Parameters
- type
- Type: CefSharp.DevTools.EmulationSetEmulatedVisionDeficiencyType
Vision deficiency to emulate. Order: best-effort emulations come first, followed by anyphysiologically accurate emulations for medically recognized color vision deficiencies.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also