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:
  • Field Details

    • dwSize

      public int dwSize
      Size of the structure, in bytes. Must be set before calling any function.
    • Address

      Address of the device.
    • ulClassofDevice

      public int ulClassofDevice
      Class of Device (CoD) of the device.
    • fConnected

      public boolean fConnected
      Whether the device is connected.
    • fRemembered

      public boolean fRemembered
      Whether the device is a remembered device. Not all remembered devices are authenticated.
    • fAuthenticated

      public boolean fAuthenticated
      Whether the device is authenticated, paired, or bonded. All authenticated devices are remembered.
    • stLastSeen

      public WinBase.SYSTEMTIME stLastSeen
      Last time the device was seen.
    • stLastUsed

      public WinBase.SYSTEMTIME stLastUsed
      Last time the device was used.
    • szName

      public char[] szName
      Name of the device.
  • Constructor Details

    • BLUETOOTH_DEVICE_INFO

      public BLUETOOTH_DEVICE_INFO()
      Creates a new instance and sets dwSize.