|
void | OnLocationUpdate (string locInfo) |
| 如果开发者需要以回调的形式把定位数据传出来, 可以在挂载TencentLocationService.cs的GameObject中,对挂载在GameObject中的任意一个脚本,实现此接口, Native会将定位数据回传到此接口; 再使用工具Util.ParseLocationInfo (locInfo),即可得到TencentLocationInfo对象. More...
|
|
◆ OnLocationUpdate()
void ILocationListener.OnLocationUpdate |
( |
string |
locInfo | ) |
|
如果开发者需要以回调的形式把定位数据传出来, 可以在挂载TencentLocationService.cs的GameObject中,对挂载在GameObject中的任意一个脚本,实现此接口, Native会将定位数据回传到此接口; 再使用工具Util.ParseLocationInfo (locInfo),即可得到TencentLocationInfo对象.
- Parameters
-
The documentation for this interface was generated from the following file:
- /Users/shixiandu/Documents/Unity/UnityProject/LocationSDKOnUnity/UnityLocationSDK/Assets/UnityTencentLocation/Core/ILocationListener.cs