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