Contents

HIDDeviceManager

A helper for discovering human interface devices (HID) connected to the system.

Declaration

actor HIDDeviceManager

Mentioned in

Overview

Use this class to specify matching criteria to filter all of the discoverable devices connected to the system into devices of interest. This is the main method of receiving a HIDDeviceClient.DeviceReference used to create a HIDDeviceClient.

Matching criteria are specified by creating HIDDeviceManager.DeviceMatchingCriteria and passing them to monitorNotifications(matchingCriteria:). References to devices that match the criteria are received using HIDDeviceManager.Notification.deviceMatched(_:) notifications.

Topics

Create a device manager

Monitor device notifications

Structures

See Also

Discovery