@Retention(value=SOURCE)
public @interface CachePolicy
Constants to define policy for downloading image and videos on the moment of loading ad request.
Assets will be saved in memory and used later
Field Detail
ALL
public static final int ALL
All assets will be loaded during ad request. Default in most ad formats
IMAGE
public static final int IMAGE
Only images will be loaded during ad request. Video ad elements will use streaming api
VIDEO
public static final int VIDEO
Only video will be downloaded during ad request. Images will be downloaded when banner shows
NONE
public static final int NONE
Assets will not be downloaded during ad request. This option decreases time of ad loading,
but ads will download assets right before showing, which can cause delays in showing some
ad elements