/// <summary> /// Gets the group training status. /// </summary> /// <returns>The training status (may be null).</returns> public TrainingStatus GetTrainingStatus() { // create the user-group if needed if (userGroupId != initedGroupId) { GetOrGreateUserGroup(); } if (userGroupId != initedGroupId) { return(null); } // get the training status TrainingStatus training = null; if (faceManager != null) { training = faceManager.GetPersonGroupTrainingStatus(userGroupId); } return(training); }