EmulationClientSetIdleOverrideAsync Method |
Version 107.1.120
Overrides the Idle state.
Namespace:
CefSharp.DevTools.Emulation
Assembly:
CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.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