Chat UIMedia Interceptor
Interceptor for media resource loading in the ChatUI SDK.
Implement this interface to customize HTTP headers for Glide image requests and to intercept WebView resource loading.
Register an implementation via setChatUIMediaInterceptor.
Types
Functions
Link copied to clipboard
Called when a combined-message portrait URL is about to be loaded.
Link copied to clipboard
public abstract void onGlidePrepareLoad(String url, Map<String, String> headers, ChatUIMediaInterceptor.Callback<Map<String, String>> callback)
Called before Glide loads an image, allowing custom HTTP headers to be injected.
Link copied to clipboard
Intercepts a WebView resource request.