Updated on 2026-08-14
This commit is contained in:
parent
61bd233942
commit
69fe86f07c
8 changed files with 70 additions and 11 deletions
|
|
@ -54,8 +54,8 @@ object Analytics : GlobalAnalyticsEventHandler {
|
|||
paramsInterceptors[interceptor.id()] = interceptor
|
||||
}
|
||||
|
||||
override fun removeParamsInterceptor(interceptor: ParamsInterceptor): ParamsInterceptor? {
|
||||
return paramsInterceptors.remove(interceptor.id())
|
||||
override fun removeParamsInterceptor(interceptorId: String): ParamsInterceptor? {
|
||||
return paramsInterceptors.remove(interceptorId)
|
||||
}
|
||||
|
||||
override fun send(event: AnalyticsEvent) {
|
||||
|
|
|
|||
|
|
@ -13,5 +13,5 @@ interface ParamsInterceptor {
|
|||
|
||||
interface ParamsInterceptorHolder {
|
||||
fun addParamsInterceptor(interceptor: ParamsInterceptor)
|
||||
fun removeParamsInterceptor(interceptor: ParamsInterceptor): ParamsInterceptor?
|
||||
fun removeParamsInterceptor(interceptorId: String): ParamsInterceptor?
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue