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