BluetoothIsDiscoverable function Null safety bthprops

int BluetoothIsDiscoverable (
  1. int hRadio
)

The BluetoothIsDiscoverable function determines whether a Bluetooth radio or radios is discoverable.

BOOL BluetoothIsDiscoverable(
  HANDLE hRadio
);

Implementation

int BluetoothIsDiscoverable(int hRadio) {
  final _BluetoothIsDiscoverable = _bthprops.lookupFunction<
      Int32 Function(IntPtr hRadio),
      int Function(int hRadio)>('BluetoothIsDiscoverable');
  return _BluetoothIsDiscoverable(hRadio);
}