Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ device()

k4a::device::device ( k4a_device_t  handle = nullptr)
inlinenoexcept

Creates a device from a k4a_device_t Takes ownership of the handle, i.e.

you should not call k4a_device_close on the handle after giving it to the device; the device will take care of that.