EmulationClientSetEmulatedMediaAsync Method  | 
Version 104.4.240 
            Emulates the given media type or media feature for CSS media queries.
            
 
    Namespace: 
   CefSharp.DevTools.Emulation
    Assembly:
   CefSharp (in CefSharp.dll) Version: 104.4.240.0 (104.4.240.0)
Syntaxpublic Task<DevToolsMethodResponse> SetEmulatedMediaAsync(
	string media = null,
	IList<MediaFeature> features = null
)
public:
Task<DevToolsMethodResponse^>^ SetEmulatedMediaAsync(
	String^ media = nullptr, 
	IList<MediaFeature^>^ features = nullptr
)
Parameters
- media (Optional)
 - Type: SystemString
Media type to emulate. Empty string disables the override. - features (Optional)
 - Type: System.Collections.GenericIListMediaFeature
Media features to emulate. 
Return Value
Type: 
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also