Table of Contents

Class RequestDeviceInfo

Namespace
WebDriverBiDi.Bluetooth
Assembly
WebDriverBiDi.dll

Provides information about a Bluetooth device during a request.

public record RequestDeviceInfo : IEquatable<RequestDeviceInfo>
Inheritance
RequestDeviceInfo
Implements
Inherited Members

Constructors

RequestDeviceInfo(RequestDeviceInfo)

protected RequestDeviceInfo(RequestDeviceInfo original)

Parameters

original RequestDeviceInfo

Properties

DeviceId

Gets the ID of the Bluetooth device.

[JsonPropertyName("id")]
[JsonRequired]
[JsonInclude]
public string DeviceId { get; }

Property Value

string

DeviceName

Gets the name of the Bluetooth device, if specified.

[JsonPropertyName("name")]
[JsonRequired]
[JsonInclude]
public string? DeviceName { get; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(RequestDeviceInfo?)

public virtual bool Equals(RequestDeviceInfo? other)

Parameters

other RequestDeviceInfo

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RequestDeviceInfo?, RequestDeviceInfo?)

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

Parameters

left RequestDeviceInfo
right RequestDeviceInfo

Returns

bool

operator !=(RequestDeviceInfo?, RequestDeviceInfo?)

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

Parameters

left RequestDeviceInfo
right RequestDeviceInfo

Returns

bool