Class UpdateScreenCommandSettings
Updates specified screen parameters. Only supported in headless mode.
public sealed class UpdateScreenCommandSettings : ICommand
- Inheritance
-
UpdateScreenCommandSettings
- Implements
- Inherited Members
Properties
ColorDepth
Specifies the screen's color depth in bits.
[JsonPropertyName("colorDepth")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? ColorDepth { get; set; }
Property Value
- long?
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
DevicePixelRatio
Specifies the screen's device pixel ratio.
[JsonPropertyName("devicePixelRatio")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? DevicePixelRatio { get; set; }
Property Value
Height
The height of the screen in pixels.
[JsonPropertyName("height")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Height { get; set; }
Property Value
- long?
IsInternal
Indicates whether the screen is internal to the device or external, attached to the device. Default is false.
[JsonPropertyName("isInternal")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? IsInternal { get; set; }
Property Value
- bool?
Label
Specifies the descriptive label for the screen.
[JsonPropertyName("label")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Label { get; set; }
Property Value
Left
Offset of the left edge of the screen in pixels.
[JsonPropertyName("left")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Left { get; set; }
Property Value
- long?
Rotation
Specifies the screen's rotation angle. Available values are 0, 90, 180 and 270.
[JsonPropertyName("rotation")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Rotation { get; set; }
Property Value
- long?
ScreenId
Target screen identifier.
[JsonPropertyName("screenId")]
public string ScreenId { get; set; }
Property Value
Top
Offset of the top edge of the screen in pixels.
[JsonPropertyName("top")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Top { get; set; }
Property Value
- long?
Width
The width of the screen in pixels.
[JsonPropertyName("width")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Width { get; set; }
Property Value
- long?
WorkAreaInsets
Specifies the screen's work area.
[JsonPropertyName("workAreaInsets")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public WorkAreaInsets? WorkAreaInsets { get; set; }