Package io.rong.imkit.utils
Interface ToastUtils.ToastInterceptor
-
- All Implemented Interfaces:
public interface ToastUtils.ToastInterceptor
SDK IMKit toast 拦截器
-
-
Method Summary
Modifier and Type Method Description abstract boolean
willToast(Context context, CharSequence text, int duration)
是否拦截 -
-
Method Detail
-
willToast
abstract boolean willToast(Context context, CharSequence text, int duration)
是否拦截
- Parameters:
context
- contexttext
- toast 文本duration
- toast 显示时间- Returns:
true:不拦截,由 SDK 弹 toast。false:拦截 SDK toast,由 App 自行弹 toast。
-
-
-
-