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
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
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
CharacteristicUuid
Gets the UUID of the characteristic on which the characteristic event was generated.
[JsonPropertyName("characteristicUuid")]
[JsonRequired]
[JsonInclude]
public string CharacteristicUuid { get; }
Property Value
Data
Gets the read-only data for the event, if any.
[JsonIgnore]
public IList<uint>? Data { get; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
ServiceUuid
Gets the UUID of the service on which the characteristic event was generated.
[JsonPropertyName("serviceUuid")]
[JsonRequired]
[JsonInclude]
public string ServiceUuid { get; }
Property Value
Type
Gets the type of the characteristic event.
[JsonPropertyName("type")]
[JsonRequired]
[JsonInclude]
public CharacteristicEventGeneratedType Type { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(CharacteristicEventGeneratedEventArgs?)
public virtual bool Equals(CharacteristicEventGeneratedEventArgs? 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 ==(CharacteristicEventGeneratedEventArgs?, CharacteristicEventGeneratedEventArgs?)
public static bool operator ==(CharacteristicEventGeneratedEventArgs? left, CharacteristicEventGeneratedEventArgs? right)
Parameters
Returns
operator !=(CharacteristicEventGeneratedEventArgs?, CharacteristicEventGeneratedEventArgs?)
public static bool operator !=(CharacteristicEventGeneratedEventArgs? left, CharacteristicEventGeneratedEventArgs? right)