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
originalGattConnectionAttemptedEventArgs
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
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
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(GattConnectionAttemptedEventArgs?)
public virtual bool Equals(GattConnectionAttemptedEventArgs? other)
Parameters
Returns
Equals(WebDriverBiDiEventArgs?)
public override sealed bool Equals(WebDriverBiDiEventArgs? other)
Parameters
otherWebDriverBiDiEventArgs
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(GattConnectionAttemptedEventArgs?, GattConnectionAttemptedEventArgs?)
public static bool operator ==(GattConnectionAttemptedEventArgs? left, GattConnectionAttemptedEventArgs? right)
Parameters
Returns
operator !=(GattConnectionAttemptedEventArgs?, GattConnectionAttemptedEventArgs?)
public static bool operator !=(GattConnectionAttemptedEventArgs? left, GattConnectionAttemptedEventArgs? right)