# KitMediaInterceptor

public interface KitMediaInterceptor

## Types

Callback
Link copied to clipboard
public interface Callback<T>

## Functions

onCombinePortraitLoad
Link copied to clipboard
public String onCombinePortraitLoad(String url)
onGlidePrepareLoad
Link copied to clipboard
public abstract void onGlidePrepareLoad(String url, Map<String, String> headers, KitMediaInterceptor.Callback<Map<String, String>> callback)
使用Glide加载图片前的拦截，可用于添加header 使用场景： 1.
shouldInterceptRequest
Link copied to clipboard
public abstract boolean shouldInterceptRequest(WebView view, String url)
拦截WebView资源加载 使用场景： 1.