Code example for Criteria

Methods: setAccuracy, setBearingRequired, setCostAllowed, setPowerRequirement, setSpeedRequired