Gets the next available body frame.
- Parameters
-
tracker_handle | Handle obtained by k4abt_tracker_create(). |
body_frame_handle | If successful this contains a handle to a body frame object. Caller must call k4abt_release_frame() when its done using this frame. |
timeout_in_ms | Specifies the time in milliseconds the function should block waiting for the body frame. 0 is a check of the queue without blocking. Passing a value of K4A_WAIT_INFINITE will blocking indefinitely. |
- Returns
- K4A_WAIT_RESULT_SUCCEEDED if a body frame is returned. If a body frame is not available before the timeout elapses, the function will return K4A_WAIT_RESULT_TIMEOUT. All other failures will return K4A_WAIT_RESULT_FAILED.