Table of Contents

Class StartScreencastCommandResult

Namespace
WebDriverBiDi.BrowsingContext
Assembly
WebDriverBiDi.dll

Result from starting a screencast.

public record StartScreencastCommandResult : CommandResult, IEquatable<CommandResult>, IEquatable<StartScreencastCommandResult>
Inheritance
StartScreencastCommandResult
Implements
Inherited Members

Constructors

StartScreencastCommandResult(StartScreencastCommandResult)

protected StartScreencastCommandResult(StartScreencastCommandResult original)

Parameters

original StartScreencastCommandResult

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Path

Gets the path of the file containing the screencast video and audio streams.

[JsonPropertyName("path")]
[JsonInclude]
[JsonRequired]
public string Path { get; }

Property Value

string

ScreencastId

Gets the ID of the started screencast.

[JsonPropertyName("screencast")]
[JsonInclude]
[JsonRequired]
public string ScreencastId { get; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(StartScreencastCommandResult?)

public virtual bool Equals(StartScreencastCommandResult? other)

Parameters

other StartScreencastCommandResult

Returns

bool

Equals(CommandResult?)

public override sealed bool Equals(CommandResult? other)

Parameters

other CommandResult

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(StartScreencastCommandResult?, StartScreencastCommandResult?)

public static bool operator ==(StartScreencastCommandResult? left, StartScreencastCommandResult? right)

Parameters

left StartScreencastCommandResult
right StartScreencastCommandResult

Returns

bool

operator !=(StartScreencastCommandResult?, StartScreencastCommandResult?)

public static bool operator !=(StartScreencastCommandResult? left, StartScreencastCommandResult? right)

Parameters

left StartScreencastCommandResult
right StartScreencastCommandResult

Returns

bool