Class BluetoothPairingEventArgs
- Namespace
- TechnologySolutions.Rfid.AsciiProtocol.Extensions
- Assembly
- TechnologySolutions.Rfid.AsciiProtocol.Core.dll
Provides data for a Bluetooth pairing event
public class BluetoothPairingEventArgs : EventArgs
- Inheritance
-
BluetoothPairingEventArgs
- Inherited Members
Constructors
BluetoothPairingEventArgs(string, BluetoothAddress, bool)
Initializes a new instance of the BluetoothPairingEventArgs class
public BluetoothPairingEventArgs(string name, BluetoothAddress address, bool isPaired)
Parameters
name
stringThe Bluetooth friendly name of the device
address
BluetoothAddressThe Bluetooth MAC address of the device
isPaired
boolTrue if the pairing was added, false if the pairing was removed
Properties
Address
Gets the Bluetooth MAC address of the device
public BluetoothAddress Address { get; }
Property Value
IsPaired
Gets a value indicating whether the device is now paired (true) or un-paired (false)
public bool IsPaired { get; }
Property Value
Name
Gets the Bluetooth friendly name of the device
public string Name { get; }