Code example for Criteria

Methods: setAccuracy, setAltitudeRequired, setBearingRequired, setCostAllowed, setPowerRequirement, setSpeedRequired