Table of Contents

Class GattConnectionAttemptedEventArgs

Namespace
WebDriverBiDi.Bluetooth
Assembly
WebDriverBiDi.dll

Object containing event data for events raised when a Bluetooth GATT connection is attempted.

public record GattConnectionAttemptedEventArgs : WebDriverBiDiEventArgs, IEquatable<WebDriverBiDiEventArgs>, IEquatable<GattConnectionAttemptedEventArgs>
Inheritance
GattConnectionAttemptedEventArgs
Implements
Inherited Members

Constructors

GattConnectionAttemptedEventArgs()

Initializes a new instance of the GattConnectionAttemptedEventArgs class.

[JsonConstructor]
public GattConnectionAttemptedEventArgs()

GattConnectionAttemptedEventArgs(GattConnectionAttemptedEventArgs)

protected GattConnectionAttemptedEventArgs(GattConnectionAttemptedEventArgs original)

Parameters

original GattConnectionAttemptedEventArgs

Properties

Address

Gets the address of the device to which the connection is being attempted.

[JsonPropertyName("address")]
[JsonRequired]
[JsonInclude]
public string Address { get; }

Property Value

string

BrowsingContextId

Gets the ID of the browsing context from which the connection is being attempted.

[JsonPropertyName("context")]
[JsonRequired]
[JsonInclude]
public string BrowsingContextId { get; }

Property Value

string

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(GattConnectionAttemptedEventArgs?)

public virtual bool Equals(GattConnectionAttemptedEventArgs? other)

Parameters

other GattConnectionAttemptedEventArgs

Returns

bool

Equals(WebDriverBiDiEventArgs?)

public override sealed bool Equals(WebDriverBiDiEventArgs? other)

Parameters

other WebDriverBiDiEventArgs

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 ==(GattConnectionAttemptedEventArgs?, GattConnectionAttemptedEventArgs?)

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

Parameters

left GattConnectionAttemptedEventArgs
right GattConnectionAttemptedEventArgs

Returns

bool

operator !=(GattConnectionAttemptedEventArgs?, GattConnectionAttemptedEventArgs?)

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

Parameters

left GattConnectionAttemptedEventArgs
right GattConnectionAttemptedEventArgs

Returns

bool