Class DeviceConnectionStateChangedEventArgs
- Namespace
- Bluetooth.Abstractions.Scanning.EventArgs
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Event arguments for the device connection state changed event.
public class DeviceConnectionStateChangedEventArgs : EventArgs
- Inheritance
-
DeviceConnectionStateChangedEventArgs
- Inherited Members
Constructors
DeviceConnectionStateChangedEventArgs(IBluetoothRemoteDevice, bool)
Initializes a new instance of the DeviceConnectionStateChangedEventArgs class.
public DeviceConnectionStateChangedEventArgs(IBluetoothRemoteDevice device, bool isConnected)
Parameters
deviceIBluetoothRemoteDeviceThe device whose connection state changed.
isConnectedboolIndicates whether the device is now connected.
Properties
Device
Gets the device whose connection state changed.
public IBluetoothRemoteDevice Device { get; }
Property Value
IsConnected
Gets a value indicating whether the device is now connected.
public bool IsConnected { get; }