Criteria

정의

è  GPS Provider로써, 기기 상황에 따른 옵션을 설정할 수 있음.
예를 들면, 해상도가 우수하거나 또는 그렇지 않는 기기에 따른 GPS 옵션 설정.

 

사용되는 함수

è  setAccuracy(int accuracy)                                                          : 정확도

è  setPowerRequirement(int level)                                              : 전원 소비량

è  setAltitudeRequired(boolean altitudeRequired)                                    : 고도 사용여부

è  setBearingRequired(boolean bearingRequired)                                    : 방위 데이터

è  setSpeedRequired(boolean speedRequired)                        : 속도

è  setCostAllowed(boolean costAllowed)                                                     : 금전적 비용

 

Constants

Constants

int

ACCURACY_COARSE

A constant indicating an approximate accuracy requirement

int

ACCURACY_FINE

A constant indicating a finer location accuracy requirement

int

ACCURACY_HIGH

a constant indicating a high accuracy requirement - may be used for horizontal, altitude, speed or bearing accuracy.

int

ACCURACY_LOW

A constant indicating a low location accuracy requirement - may be used for horizontal, altitude, speed or bearing accuracy.

int

ACCURACY_MEDIUM

A constant indicating a medium accuracy requirement - currently used only for horizontal accuracy.

int

NO_REQUIREMENT

A constant indicating that the application does not choose to place requirement on a particular feature.

int

POWER_HIGH

A constant indicating a high power requirement.

int

POWER_LOW

A constant indicating a low power requirement.

int

POWER_MEDIUM

A constant indicating a medium power requirement.

 

'안드로이드' 카테고리의 다른 글

Activity 이동시 Animation 효과 주기  (0) 2011.10.13
뷰에서 프레임워크가 호출하는 다른 메소드들  (0) 2011.10.12
메모리 릭 관찰하기  (0) 2011.10.10
Onpe GL 강좌 주소  (0) 2011.08.18
IOS-639 CODE  (0) 2011.08.12

+ Recent posts