openDevice

abstract fun openDevice(index: Int = 0): Kinect.Device(source)

Opens kinect device of a given index.

Parameters

index

the kinect device index (starts with 0). If no value specified, it will default to 0.

See also

Throws

if device of such an index does not exist, or it was already started.


abstract fun openDevice(serialNumber: String): Kinect.Device(source)

Opens kinect device of a given serial number.

Parameters

serialNumber

the kinect device serialNumber.

See also

Throws

if device of such a serial number does not exist , or it was already started.