Freenect

class Freenect(initialLogLevel: Kinect1.LogLevel)(source)

This class provides a low level API for accessing a kinect1 device. All the operations are executed in a single thread responsible for calling freenect API.

Parameters

initialLogLevel

the log level to use when freenect is initialized.

Constructors

Link copied to clipboard
constructor(initialLogLevel: Kinect1.LogLevel)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun call(name: String, block: (ctx: freenect_context, usbCtx: freenect_usb_context) -> Unit)
Link copied to clipboard
fun <T> callBlocking(name: String, block: (ctx: freenect_context, usbCtx: freenect_usb_context) -> T): T
Link copied to clipboard
fun checkReturn(ret: Int): Int
Link copied to clipboard
fun close()
Link copied to clipboard