BluetoothIsVersionAvailable function Null safety bthprops
The BluetoothIsVersionAvailable function indicates if the installed Bluetooth binary set supports the requested version.
BOOL BluetoothIsVersionAvailable(
UCHAR MajorVersion,
UCHAR MinorVersion
);
Implementation
int BluetoothIsVersionAvailable(int MajorVersion, int MinorVersion) {
final _BluetoothIsVersionAvailable = _bthprops.lookupFunction<
Int32 Function(Uint8 MajorVersion, Uint8 MinorVersion),
int Function(
int MajorVersion, int MinorVersion)>('BluetoothIsVersionAvailable');
return _BluetoothIsVersionAvailable(MajorVersion, MinorVersion);
}