Total Pageviews

Tuesday, April 8, 2014

ចុះមួយនេះវិញ Syste.setLocationThreshold()


គេប្រើវាសំរាប់ វាស់រយះចំងាយជា meters ដែលត្រូវធ្វើដំណើររហូតដល់ next location (GPS) event is sent។ ពីព្រោះទីតាំង events វាទាក់ទង់នឹង hardware ដែលនឹងស្រូបថ្ម។ ការប្រើប្រាស់ larger threshold distances ជួយសន្សំថ្ម

Syntax: system.setLocationThreshold (distance)

Distance(តំរូវការ)​ វាជាលេខដែលបង្ហាញនៅ location event distance គិតជា ម៉ែត្រ តំលៃដើមគឺ០

សូមមើលកូដះ

System.setLocationThreshold (100)

No comments:

Post a Comment