ApiManagerGetGpsAmap 方法 (GpsCallBackHandler, Boolean, String, Int32) |
通过高德接口获取GPS数据
命名空间:
Smobiler.Core.RPC
程序集:
Smobiler.Core (在 Smobiler.Core.dll 中) 版本:6.0.651.17422+f85e28ffe3fdebbfe720c8c2dde0db495f1a52ab
语法public void GetGpsAmap(
GpsCallBackHandler handler,
bool requestLocation = false,
string amapKey = "",
int timeOut = 60000
)
Public Sub GetGpsAmap (
handler As GpsCallBackHandler,
Optional requestLocation As Boolean = false,
Optional amapKey As String = "",
Optional timeOut As Integer = 60000
)
参数
- handler
- 类型:Smobiler.Core.ControlsGpsCallBackHandler
回调实例 - requestLocation (Optional)
- 类型:SystemBoolean
是否请求位置描述 - amapKey (Optional)
- 类型:SystemString
高德WEBKEY - timeOut (Optional)
- 类型:SystemInt32
超时时间[毫秒]
参见