The main principle involved is the measurement of the critical angle.
Traditional handheld refractometer