Class Library Documentation for Neo smartpen SDK
BluetoothAdapter Class |
Provides client connections for Bluetooth RFCOMM network services.
Inheritance Hierarchy
Namespace: Neosmartpen.Net.Bluetooth
Assembly: Neosmartpen.Net (in Neosmartpen.Net.dll) Version: 2.1.13.0 (2.1.13)
Syntax
C#
public class BluetoothAdapter
The BluetoothAdapter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BluetoothAdapter |
A constructor that constructs a BluetoothAdapter
|
Properties
Name | Description | |
---|---|---|
Connected |
Specifies whether the device is connected.
| |
DeviceAddress |
Gets the device identifier.
| |
DeviceClass |
Returns the Class of Device of the remote device.
| |
DeviceName |
Gets a name of a device.
| |
Enabled |
Specifies whether the bluetooth adapter is enabled.
|
Methods
Name | Description | |
---|---|---|
Bind |
Bind the bluetooth socket with IPenComm class.
| |
Connect |
Connects the client to a remote Bluetooth host using the specified mac address and OnConnected handler.
| |
Disconnect |
Closes the Bluetooth socket and the underlying connection.
| |
FindAllDevices |
Discovers accessible Bluetooth devices, both remembered and in-range, and returns their names and addresses.
| |
RemovePairedDevice |
Remove the pairing with the specified device.
|
See Also