Skip to main content

BleStatusResponse

Namespace: Busy.Bar

The device's current BLE status.

public sealed record class BleStatusResponse : System.IEquatable`1[[Busy.Bar.BleStatusResponse, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → BleStatusResponse
Implements IEquatable<BleStatusResponse>
Attributes NullableContextAttribute, NullableAttribute

Properties

Status

The BLE module's current state.

public BleStatus Status { get; init; }

Property Value

BleStatus

Address

The remote device's address. Only present when Status is BleStatus.Connected.

public string? Address { get; init; }

Property Value

String

Constructors

BleStatusResponse(BleStatus, String)

The device's current BLE status.

public BleStatusResponse(BleStatus Status, string? Address)

Parameters

Status BleStatus
The BLE module's current state.

Address String?
The remote device's address. Only present when Status is BleStatus.Connected.