com.tencent.map.geolocation
类 TencentLocationManagerOptions
java.lang.Object
com.tencent.map.geolocation.TencentLocationManagerOptions
public class TencentLocationManagerOptions
- extends java.lang.Object
TencentLocationManager
调整选项.
对 TencentLocationManager
的调整, 应在调用定位前完成.
- 从以下版本开始:
- v4.1.4
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TencentLocationManagerOptions
public TencentLocationManagerOptions()
setLoadLibraryEnabled
public static void setLoadLibraryEnabled(boolean enabled)
- 设置是否由定位SDK自动加载so library(缺省时为自动加载).
- 如果设置自动加载为 true, 定位SDK会在合适的时机调用
System.loadLibrary(String)
自动加载 "libtencentloc.so", 若加载失败会返回相应的错误码
- 如果设置自动加载为 false, 定位SDK不会自动加载 "libtencentloc.so". 此时App可自行处理加载过程并保证加载成功, 此外 so文件名不再限制为 "libtencentloc.so"
isLoadLibraryEnabled
public static boolean isLoadLibraryEnabled()