Register a quick flip/tilt?

I am looking to implement a control where the character jumps when the phone is flicked/tilted up quickly. I see the tilt function as an input possibility. How would I go about registering when there is a quick tilt/flick?