Contents

elements

All HID elements associated with the device.

Declaration

var elements: [HIDElement] { get }

Discussion

Elements of interest can be taken from this list and passed to monitorNotifications(reportIDsToMonitor:elementsToMonitor:) to receive notifications using HIDDeviceClient.Notification.elementUpdates(values:) when updates to the elements are received from the device. Elements can also be used in a HIDDeviceClient.RequestElementUpdate to request the latest data as desired.

See HIDElement for more info.

See Also

Get device information