Table of Contents

Class CharacteristicEventGeneratedEventArgs

Namespace
WebDriverBiDi.Bluetooth
Assembly
WebDriverBiDi.dll

Object containing event data for events raised when a Bluetooth characteristic event is generated.

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

Constructors

CharacteristicEventGeneratedEventArgs()

Initializes a new instance of the CharacteristicEventGeneratedEventArgs class.

[JsonConstructor]
public CharacteristicEventGeneratedEventArgs()

CharacteristicEventGeneratedEventArgs(CharacteristicEventGeneratedEventArgs)

protected CharacteristicEventGeneratedEventArgs(CharacteristicEventGeneratedEventArgs original)

Parameters

original CharacteristicEventGeneratedEventArgs

Properties

Address

Gets the address of the device on which the characteristic event was generated.

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

Property Value

string

BrowsingContextId

Gets the ID of the browsing context in which the characteristic event was generated.

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

Property Value

string

CharacteristicUuid

Gets the UUID of the characteristic on which the characteristic event was generated.

[JsonPropertyName("characteristicUuid")]
[JsonRequired]
[JsonInclude]
public string CharacteristicUuid { get; }

Property Value

string

Data

Gets the read-only data for the event, if any.

[JsonIgnore]
public IList<uint>? Data { get; }

Property Value

IList<uint>

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

ServiceUuid

Gets the UUID of the service on which the characteristic event was generated.

[JsonPropertyName("serviceUuid")]
[JsonRequired]
[JsonInclude]
public string ServiceUuid { get; }

Property Value

string

Type

Gets the type of the characteristic event.

[JsonPropertyName("type")]
[JsonRequired]
[JsonInclude]
public CharacteristicEventGeneratedType Type { get; }

Property Value

CharacteristicEventGeneratedType

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(CharacteristicEventGeneratedEventArgs?)

public virtual bool Equals(CharacteristicEventGeneratedEventArgs? other)

Parameters

other CharacteristicEventGeneratedEventArgs

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

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

Parameters

left CharacteristicEventGeneratedEventArgs
right CharacteristicEventGeneratedEventArgs

Returns

bool

operator !=(CharacteristicEventGeneratedEventArgs?, CharacteristicEventGeneratedEventArgs?)

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

Parameters

left CharacteristicEventGeneratedEventArgs
right CharacteristicEventGeneratedEventArgs

Returns

bool