◆ GetVersion()
string TencentLocationService.GetVersion |
( |
| ) |
|
获取Unity 定位SDK 版本号
- Returns
- The version.
◆ Start()
void TencentLocationService.Start |
( |
float |
desiredAccuracyInMeters = -1f , |
|
|
float |
updateDistanceInMeters = -1f |
|
) |
| |
开始定位
- Parameters
-
desiredAccuracyInMeters | Desired accuracy in meters. |
updateDistanceInMeters | Update distance in meters. |
◆ Stop()
void TencentLocationService.Stop |
( |
| ) |
|
◆ errorCode
ErrorCode TencentLocationService.errorCode |
|
getset |
如果定位失败,即status = Failed, 可以查看ErrorCode,得知对应的失败原因;
◆ lastData
◆ status
TencentLocationServiceStatus TencentLocationService.status |
|
getset |
The documentation for this class was generated from the following file:
- /Users/shixiandu/Documents/Unity/UnityProject/LocationSDKOnUnity/UnityLocationSDK/Assets/UnityTencentLocation/Core/TencentLocationService.cs