Class BluetoothApis.BLUETOOTH_DEVICE_INFO
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.BluetoothApis.BLUETOOTH_DEVICE_INFO
- Enclosing interface:
BluetoothApis
@FieldOrder({"dwSize","Address","ulClassofDevice","fConnected","fRemembered","fAuthenticated","stLastSeen","stLastUsed","szName"})
public static class BluetoothApis.BLUETOOTH_DEVICE_INFO
extends Structure
The
BLUETOOTH_DEVICE_INFO structure provides information about a Bluetooth device.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionAddress of the device.intSize of the structure, in bytes.booleanWhether the device is authenticated, paired, or bonded.booleanWhether the device is connected.booleanWhether the device is a remembered device.Last time the device was seen.Last time the device was used.char[]Name of the device.intClass of Device (CoD) of the device.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. Must be set before calling any function. -
Address
Address of the device. -
ulClassofDevice
public int ulClassofDeviceClass of Device (CoD) of the device. -
fConnected
public boolean fConnectedWhether the device is connected. -
fRemembered
public boolean fRememberedWhether the device is a remembered device. Not all remembered devices are authenticated. -
fAuthenticated
public boolean fAuthenticatedWhether the device is authenticated, paired, or bonded. All authenticated devices are remembered. -
stLastSeen
Last time the device was seen. -
stLastUsed
Last time the device was used. -
szName
public char[] szNameName of the device.
-
-
Constructor Details
-
BLUETOOTH_DEVICE_INFO
public BLUETOOTH_DEVICE_INFO()Creates a new instance and setsdwSize.
-