ToastUtils

public final class ToastUtils

Toast utility class for internal SDK toast display.

Apps can use setInterceptor to intercept SDK toasts.

Constructors

Link copied to clipboard
public void ToastUtils()

Types

Link copied to clipboard
public interface ToastInterceptor
SDK ChatUI toast interceptor.

Functions

Link copied to clipboard
public static void setInterceptor(ToastUtils.ToastInterceptor interceptor)
Sets the toast interceptor.
Link copied to clipboard
public static void show(Context context, CharSequence text, int duration)
Shows a toast, subject to setInterceptor.