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