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