Package com.baidu.mapapi.common.auth
Interface IBWAuthManager
- All Known Implementing Classes:
BWAuthManagerImpl
public interface IBWAuthManager
Created by hexiaojiang
on 2025/2/24
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuthListener(IBWAuthListener listener) 设置鉴权监听voidloadAuth(android.content.Context context, BWAuthLicenseType type, boolean needActive) 加载所需要的权限voidremoveAuthListener(IBWAuthListener listener) 设置鉴权监听
-
Method Details
-
loadAuth
加载所需要的权限- Parameters:
context- app contexttype-needActive- 是否需要激活AK下配额, 传true会默认激活,消耗配额 传false仅查询是否有权限,需要提前录入设备id- See Also:
-
addAuthListener
设置鉴权监听- Parameters:
listener- 监听回调
-
removeAuthListener
设置鉴权监听- Parameters:
listener- 监听回调
-