Releases: rostislav-nikitin/Plugin.BluetoothClassic
The minor release that fixes some method, enumeration item names
- The IBluetoothAdapter method IBluetoothConnection CreateConnectionAsync(BluetoothDeviceModel bluetoothDeviceModel); name was changed to the:
IBluetoothConnection CreateConnection(BluetoothDeviceModel bluetoothDeviceModel); one.
The Async suffix was removed because it is not awaitable method - The NuGet package description was updated
- The ConnectionState.ErrorHappend was updated to the ConnectionState.ErrorOccured
The new lightweight, short life-time connection interface/implementation was introduced
Updates:
1. The IBluetoothConnection was moved to the IBluetoothManagedConnection
2. The new IBluetoothConnection was introduced
The IBluetoothConnection interface can be used to implement a lightweight Bluetooth connections types which instances designed to have a short life-time. Such types of connections can be used for short data exchange transactions in opposite to the types that implements IBluetoothManagedConnection interface which life-times are equal to the application life-time.
Currently Plugin.BluetoothClassic.BluetoothConnection implements this interface.
Read documentation and examples for more details.
Now it supported managed connections
Now it supported managed connections. Managed means that internally connection manager try to reconnect if connection lost etc. You don't need to care about this. You simple need to create connection and transmit/receive data through it. And any connection issues internal connection managed will try to solve.