Code example for Criteria

Methods: setAccuracy, setAltitudeRequired, setBearingRequired, setSpeedRequired