화면 » Api

stopwatchgeolocation

Description

현재 실행중인 위치 정보 감지를 중단한다.

Return Value

Type Description
BOOL 정상 적용 여부(true, false)

Example

function geolocation_callback(errcode, errmsg, latitude, longitude, accuracy) { factory.consoleprint('errcode : ' + errcode); factory.consoleprint('errmsg : ' + errmsg); factory.consoleprint('Latitude : ' + latitude); factory.consoleprint('Longitude: ' + longitude); factory.consoleprint('More or less ' + accuracy + ' meters.'); } function btn_getgeolocation_on_mouseup(objInst) { // 위치정보 취득 screen.getgeolocation("geolocation_callback"); } function btn_watchgeolocation_on_mouseup(objInst) { // 위치정보 감지 시작 screen.getgeolocation("geolocation_callback", true, true, 5000, 0); } function btn_stopwatchgeolocation_on_mouseup(objInst) { // 위치정보 감지 중단 screen.stopwatchgeolocation(); }

See Also

getgeolocation

Viewer Ver.

9.1.1.1

Update Date

20210119