Replacement for DeviceList::name()

The DeviceList::name() function is marked as deprecated in the v2 API docs (OrbbecSDK: ob::DeviceList Class Reference).

The docs offer no suggestions for a replacement.

What is the recommended way to enumerate human-readable names of attached devices if that function is deprecated?

Thanks.