SetEmulatedMediaRequest

data class SetEmulatedMediaRequest(media: String?, features: List<MediaFeature>?)

Represents request frame that can be used with Emulation#setEmulatedMedia operation call.

Emulates the given media type or media feature for CSS media queries.

See also

Constructors

SetEmulatedMediaRequest
Link copied to clipboard
fun SetEmulatedMediaRequest(media: String? = null, features: List<MediaFeature>? = null)

Properties

features
Link copied to clipboard
val features: List<MediaFeature>? = null
Media features to emulate.
media
Link copied to clipboard
val media: String? = null
Media type to emulate.

Sources

jvm source
Link copied to clipboard