TencentLocationSdk
Public Member Functions | List of all members
ILocationListener Interface Reference

Public Member Functions

void OnLocationUpdate (string locInfo)
 如果开发者需要以回调的形式把定位数据传出来, 可以在挂载TencentLocationService.cs的GameObject中,对挂载在GameObject中的任意一个脚本,实现此接口, Native会将定位数据回传到此接口; 再使用工具Util.ParseLocationInfo (locInfo),即可得到TencentLocationInfo对象. More...
 

Member Function Documentation

◆ OnLocationUpdate()

void ILocationListener.OnLocationUpdate ( string  locInfo)

如果开发者需要以回调的形式把定位数据传出来, 可以在挂载TencentLocationService.cs的GameObject中,对挂载在GameObject中的任意一个脚本,实现此接口, Native会将定位数据回传到此接口; 再使用工具Util.ParseLocationInfo (locInfo),即可得到TencentLocationInfo对象.

Parameters
locInfoLocation info.

The documentation for this interface was generated from the following file: