What are the codes for the capacitive sensor?

Im a student and im going to use capacitive sensor in arduino, but i dont know the code that im going to use.

Is it an analogue or digital device ?
Have you used either analogRead() or digitalRead() in a program ?

This might help.

(deleted)