18 lines
655 B
Kotlin
18 lines
655 B
Kotlin
package com.gh.common.provider
|
|
|
|
import android.content.Context
|
|
import com.alibaba.android.arouter.facade.annotation.Route
|
|
import com.gh.common.FixedRateJobHelper
|
|
import com.gh.gamecenter.common.constant.RouteConsts
|
|
import com.gh.gamecenter.core.provider.IFixedRateJobHelperProvider
|
|
|
|
@Route(path = RouteConsts.provider.fixedRateJobHelper, name = "FixedRateJobHelper暴露服务")
|
|
class FixedRateJobHelperProviderImpl : IFixedRateJobHelperProvider {
|
|
override fun getTimeDeltaBetweenServerAndClient(): Long {
|
|
return FixedRateJobHelper.timeDeltaBetweenServerAndClient
|
|
}
|
|
|
|
override fun init(context: Context?) {
|
|
// Do nothing
|
|
}
|
|
} |