package com.gh.common.provider

import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.gh.common.util.AdHelper
import com.gh.gamecenter.common.constant.RouteConsts
import com.gh.gamecenter.feature.entity.SettingsEntity
import com.gh.gamecenter.feature.provider.IAdHelperProvider

@Route(path = RouteConsts.provider.adHelper, name = "AdHelper暴露服务")
class AdHelperProviderImpl : IAdHelperProvider {
    override fun getSuggestionFunctionAd(): SettingsEntity.AD? {
        return AdHelper.getAd(AdHelper.LOCATION_SUGGESTION_FUNCTION)
    }

    override fun init(context: Context?) {
        // Do nothing
    }
}