How does this sensor measure liquid level?

This sensor is from Hidrate Spark and I was wondering if it would work with a stainless steel case over it instead of the plastic one included. Their website (Hidrate Spark Spec) says it uses capacitive touch sensor but what material does it use and how is it implemented? I attached pictures of the sensor stick along with its white plastic case.

Probably similar to this old idea by Scott Edwards in Nuts&Volts: Measuring water level without getting wet (which works quite well).

In case that link doesn't work, try here https://docslide.com.br/documents/nv27-measuring-water-levelpdf.html

Ah I've seen that one! Cypress Semiconductor sells that in a kit. But that is the other way of measuring water level (non-contact through non-metallic container) which doesn't work with metal. The other solution is what the stick uses by placing the sensor inside the container of water. But I'm not sure how this is implemented especially with a metal case.

It sounds/looks like exactly what it says - capacitive touch sensing (as used in non-contact buttons, touch-screens, etc). No special materials are used, just a couple of pours on the PCB to act as sensing electrodes. It detects the change in capacitance caused by the proximity of a conductive material (such as a finger, or wet soil, or water). You can read about how capacitive touch sensors work online, just google it; there is a great deal written about them because of how ubiquitous they are in cellphones and other consumer electronics.

I've used variations on this circuit for years to measure liquid levels. Metal tape on the outside of a plastic container, or two insulated wires wrapped around a piece of thinwall plastic pipe inserted in the liquid. I started building these things in the late '70s.