Measuring Student Engagement in Technology-Mediated Learning Environments.