Kinect.KinectManager.GetUserIdByIndex C# (CSharp) Method

GetUserIdByIndex() public method

Gets the user ID by the specified user index.
public GetUserIdByIndex ( int i ) : Int64
i int The user index.
return Int64
        public Int64 GetUserIdByIndex(int i)
        {
            if (i >= 0 && i < alUserIds.Count)
            {
                return alUserIds[i];
            }

            return 0;
        }
KinectManager