Class BluetoothApis.BLUETOOTH_DEVICE_SEARCH_PARAMS
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.BluetoothApis.BLUETOOTH_DEVICE_SEARCH_PARAMS
- Enclosing interface:
BluetoothApis
@FieldOrder({"dwSize","fReturnAuthenticated","fReturnRemembered","fReturnUnknown","fReturnConnected","fIssueInquiry","cTimeoutMultiplier","hRadio"})
public static class BluetoothApis.BLUETOOTH_DEVICE_SEARCH_PARAMS
extends Structure
The
BLUETOOTH_DEVICE_SEARCH_PARAMS structure specifies search criteria for Bluetooth device searches.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionbyteTimeout for the inquiry in increments of 1.28 seconds.intSize of the structure, in bytes.booleanWhether to issue a new inquiry.booleanWhether to return authenticated devices.booleanWhether to return connected devices.booleanWhether to return remembered devices.booleanWhether to return unknown devices.Handle to the radio on which to perform the inquiry.Fields inherited from class Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
dwSize
public int dwSizeSize of the structure, in bytes. -
fReturnAuthenticated
public boolean fReturnAuthenticatedWhether to return authenticated devices. -
fReturnRemembered
public boolean fReturnRememberedWhether to return remembered devices. -
fReturnUnknown
public boolean fReturnUnknownWhether to return unknown devices. -
fReturnConnected
public boolean fReturnConnectedWhether to return connected devices. -
fIssueInquiry
public boolean fIssueInquiryWhether to issue a new inquiry. -
cTimeoutMultiplier
public byte cTimeoutMultiplierTimeout for the inquiry in increments of 1.28 seconds. Maximum value is 48. -
hRadio
Handle to the radio on which to perform the inquiry. Set tonullfor all radios.
-
-
Constructor Details
-
BLUETOOTH_DEVICE_SEARCH_PARAMS
public BLUETOOTH_DEVICE_SEARCH_PARAMS()Creates a new instance and setsdwSize.
-