Class DescriptorEventGeneratedEventArgs
- Namespace
- WebDriverBiDi.Bluetooth
- Assembly
- WebDriverBiDi.dll
Object containing event data for events raised when a Bluetooth descriptor event is generated.
public record DescriptorEventGeneratedEventArgs : WebDriverBiDiEventArgs, IEquatable<WebDriverBiDiEventArgs>, IEquatable<DescriptorEventGeneratedEventArgs>
- Inheritance
-
DescriptorEventGeneratedEventArgs
- Implements
- Inherited Members
Constructors
DescriptorEventGeneratedEventArgs()
Initializes a new instance of the DescriptorEventGeneratedEventArgs class.
[JsonConstructor]
public DescriptorEventGeneratedEventArgs()
DescriptorEventGeneratedEventArgs(DescriptorEventGeneratedEventArgs)
protected DescriptorEventGeneratedEventArgs(DescriptorEventGeneratedEventArgs original)
Parameters
originalDescriptorEventGeneratedEventArgs
Properties
Address
Gets the address of the device on which the descriptor event was generated.
[JsonPropertyName("address")]
[JsonRequired]
[JsonInclude]
public string Address { get; }
Property Value
BrowsingContextId
Gets the ID of the browsing context in which the descriptor event was generated.
[JsonPropertyName("context")]
[JsonRequired]
[JsonInclude]
public string BrowsingContextId { get; }
Property Value
CharacteristicUuid
Gets the UUID of the characteristic on which the descriptor 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
DescriptorUuid
Gets the UUID of the descriptor on which the descriptor event was generated.
[JsonPropertyName("descriptorUuid")]
[JsonRequired]
[JsonInclude]
public string DescriptorUuid { get; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
ServiceUuid
Gets the UUID of the service on which the descriptor event was generated.
[JsonPropertyName("serviceUuid")]
[JsonRequired]
[JsonInclude]
public string ServiceUuid { get; }
Property Value
Type
Gets the type of the descriptor event.
[JsonPropertyName("type")]
[JsonRequired]
[JsonInclude]
public DescriptorEventGeneratedType Type { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(DescriptorEventGeneratedEventArgs?)
public virtual bool Equals(DescriptorEventGeneratedEventArgs? 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 ==(DescriptorEventGeneratedEventArgs?, DescriptorEventGeneratedEventArgs?)
public static bool operator ==(DescriptorEventGeneratedEventArgs? left, DescriptorEventGeneratedEventArgs? right)
Parameters
Returns
operator !=(DescriptorEventGeneratedEventArgs?, DescriptorEventGeneratedEventArgs?)
public static bool operator !=(DescriptorEventGeneratedEventArgs? left, DescriptorEventGeneratedEventArgs? right)