EmulationClientSetTouchEmulationEnabledAsync Method  | 
Version 104.4.240 
            Enables touch on platforms which do not support them.
            
 
    Namespace: 
   CefSharp.DevTools.Emulation
    Assembly:
   CefSharp (in CefSharp.dll) Version: 104.4.240.0 (104.4.240.0)
Syntaxpublic Task<DevToolsMethodResponse> SetTouchEmulationEnabledAsync(
	bool enabled,
	int? maxTouchPoints = null
)
public:
Task<DevToolsMethodResponse^>^ SetTouchEmulationEnabledAsync(
	bool enabled, 
	Nullable<int> maxTouchPoints = nullptr
)
Parameters
- enabled
 - Type: SystemBoolean
Whether the touch event emulation should be enabled. - maxTouchPoints (Optional)
 - Type: SystemNullableInt32
Maximum touch points supported. Defaults to one. 
Return Value
Type: 
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also