public class LocationManagePlugin
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
LocationManagePlugin.GPSData
GPS数据
|
static class |
LocationManagePlugin.Satellite
卫星信息
|
限定符和类型 | 字段和说明 |
---|---|
java.util.List<LocationManagePlugin.Satellite> |
listStatellites
卫星信息列表
|
构造器和说明 |
---|
LocationManagePlugin()
初始化位置管理插件
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
addLocationChangedListener(LocationChangedListener locationChangedListener)
添加位置改变监听器
|
void |
closeGpsDevice()
关闭GPS设备
|
boolean |
openGpsDevice(LocationManager loc)
开启GPS设备
|
boolean |
removeLocationChangedListener(LocationChangedListener locationChangedListener)
移除指定的位置改变监听器
|
public java.util.List<LocationManagePlugin.Satellite> listStatellites
public boolean openGpsDevice(LocationManager loc)
loc
- android 系统的位置管理器public void closeGpsDevice()
public boolean addLocationChangedListener(LocationChangedListener locationChangedListener)
locationChangedListener
-public boolean removeLocationChangedListener(LocationChangedListener locationChangedListener)
locationChangedListener
-