com.sirvar.bluetoothkit / BluetoothKit / getDeviceByName

getDeviceByName

fun getDeviceByName(name: String): <ERROR CLASS>?

Get paired BluetoothDevice by name

Parameters

name - paired device name to get

Return
BluetoothDevice the device if it exists, else null

See Also

android.bluetooth.BluetoothDevice