setBluetoothConfig method
Edit the Bluetooth configuration
Edits the Bluetooth configuration.
Parameters:
-
BluetoothConfig bluetoothConfig (required):
-
String uuidToken: Used for remote connections to device
Implementation
Future<void> setBluetoothConfig(
BluetoothConfig bluetoothConfig, {
String? uuidToken,
}) async {
final response = await setBluetoothConfigWithHttpInfo(
bluetoothConfig,
uuidToken: uuidToken,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}