Чтобы начать запрос устройства, мне нужно создать экземпляр IOBluetoothDeviceInquiry, а затем мне нужно вызвать для него метод initWithDelegate, но как мне поместить это в интерфейс?
Код: Выделить всё
interface Bluetooth extends Library {
void initWithDelegate(Pointer delegate); // nope
void IOBluetoothDeviceInquiry$initWithDelegate(Pointer delegate); // nope
void _OBJC_CLASS_$_IOBluetoothDeviceInquiry(); // found that string somewhere, nope
}
Подробнее здесь: https://stackoverflow.com/questions/798 ... th-jna-ffm
Мобильная версия