• 创建 TencentLocationManager 实例,非单例,每次调用都会生成一个新的实例。

    如果未同意隐私政策则返回 undefined。

    Returns TencentLocationManager | undefined

    TencentLocationManager 实例,或者 undefined。

    Example

    const locationManager = TencentLocationManager.createInstance()
    if (locationManager) {
    // 使用 locationManager 进行定位操作
    }

    Since

    1.0.9