Package ai.nexconn.chatui.utils.common
Interface ToastUtils.ToastInterceptor
-
- All Implemented Interfaces:
public interface ToastUtils.ToastInterceptorSDK ChatUI toast interceptor.
-
-
Method Summary
Modifier and Type Method Description abstract booleanwillToast(Context context, CharSequence text, int duration)Determines whether to intercept the toast. -
-
Method Detail
-
willToast
abstract boolean willToast(Context context, CharSequence text, int duration)
Determines whether to intercept the toast.
- Parameters:
context- contexttext- toast textduration- toast duration- Returns:
true: do not intercept, SDK shows the toast. false: intercept, app handles the toast.
-
-
-
-