• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.airbnb.lottie.network;
2 
3 
4 import androidx.annotation.NonNull;
5 
6 import java.io.File;
7 
8 /**
9  * Interface for providing the custom cache directory where animations downloaded via url are saved.
10  *
11  * @see com.airbnb.lottie.Lottie#initialize
12  */
13 public interface LottieNetworkCacheProvider {
14 
15   /**
16    * Called during cache operations
17    *
18    * @return cache directory
19    */
getCacheDir()20   @NonNull File getCacheDir();
21 }