Interface IBluetoothModule
- Namespace
- Jabra.NET.Sdk.DevicePairing
- Assembly
- Jabra.NET.Sdk.DevicePairing.dll
public interface IBluetoothModule
Methods
CreateBluetoothChildDevice(IDevice)
Create a Bluetooth child device from an IDevice
Task<IBluetoothChildDevice> CreateBluetoothChildDevice(IDevice device)
Parameters
device
IDeviceThe device to convert
Returns
- Task<IBluetoothChildDevice>
A Bluetooth child device representation of the device.
Exceptions
- InvalidBluetoothDeviceException
If the IDevice is not a bluetooth child device
CreateBluetoothDongle(IDevice)
Create a Bluetooth dongle from an IDevice
Task<IBluetoothDongle> CreateBluetoothDongle(IDevice device)
Parameters
device
IDeviceThe device to convert
Returns
- Task<IBluetoothDongle>
A Bluetooth dongle representation of the device.
Exceptions
- InvalidBluetoothDeviceException
If The IDevice is not a bluetooth dongle.
IsBluetoothChildDevice(IDevice)
Task<bool> IsBluetoothChildDevice(IDevice device)
Parameters
device
IDevice
Returns
IsBluetoothDongle(IDevice)
Task<bool> IsBluetoothDongle(IDevice device)
Parameters
device
IDevice
Returns
TryCreateBluetoothChildDevice(IDevice)
Try to create a Bluetooth child device from an IDevice.
Task<IBluetoothChildDevice?> TryCreateBluetoothChildDevice(IDevice device)
Parameters
device
IDeviceThe device to convert
Returns
- Task<IBluetoothChildDevice>
An IBluetoothChildDevice if the IDevice is a Bluetooth child device, null otherwise.
TryCreateBluetoothChildDevice(IBluetoothAddress)
Try to create a Bluetooth child device from an existing IDevice that matched the specified address.
Task<IBluetoothChildDevice?> TryCreateBluetoothChildDevice(IBluetoothAddress address)
Parameters
address
IBluetoothAddressThe Bluetooth address of the device to convert
Returns
- Task<IBluetoothChildDevice>
An IBluetoothChildDevice if an IDevice exists with the specified Bluetooth address, null otherwise.
TryCreateBluetoothDongle(IDevice)
Try to create a Bluetooth dongle from an IDevice.
Task<IBluetoothDongle?> TryCreateBluetoothDongle(IDevice device)
Parameters
device
IDeviceThe device to convert
Returns
- Task<IBluetoothDongle>
An IBluetoothDongle if the IDevice is a Bluetooth dongle, null otherwise.