EmulationClientSetIdleOverrideAsync Method |
Version 98.1.210
Overrides the Idle state.
Namespace:
CefSharp.DevTools.Emulation
Assembly:
CefSharp (in CefSharp.dll) Version: 98.1.210.0 (98.1.210.0)
Syntax public Task<DevToolsMethodResponse> SetIdleOverrideAsync(
bool isUserActive,
bool isScreenUnlocked
)
public:
Task<DevToolsMethodResponse^>^ SetIdleOverrideAsync(
bool isUserActive,
bool isScreenUnlocked
)
Parameters
- isUserActive
- Type: SystemBoolean
Mock isUserActive - isScreenUnlocked
- Type: SystemBoolean
Mock isScreenUnlocked
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also