Interface IBWAuthManager

All Known Implementing Classes:
BWAuthManagerImpl

public interface IBWAuthManager
Created by hexiaojiang on 2025/2/24
  • Method Details

    • loadAuth

      void loadAuth(android.content.Context context, BWAuthLicenseType type, boolean needActive)
      加载所需要的权限
      Parameters:
      context - app context
      type -
      needActive - 是否需要激活AK下配额, 传true会默认激活,消耗配额 传false仅查询是否有权限,需要提前录入设备id
      See Also:
    • addAuthListener

      void addAuthListener(IBWAuthListener listener)
      设置鉴权监听
      Parameters:
      listener - 监听回调
    • removeAuthListener

      void removeAuthListener(IBWAuthListener listener)
      设置鉴权监听
      Parameters:
      listener - 监听回调