Table of Contents

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

device IBluetoothRemoteDevice

The device whose connection state changed.

isConnected bool

Indicates whether the device is now connected.

Properties

Device

Gets the device whose connection state changed.

public IBluetoothRemoteDevice Device { get; }

Property Value

IBluetoothRemoteDevice

IsConnected

Gets a value indicating whether the device is now connected.

public bool IsConnected { get; }

Property Value

bool