Package com.my.target.common
Annotation 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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intAll assets will be loaded during ad request.static final intOnly images will be loaded during ad request.static final intAssets will not be downloaded during ad request.static final intOnly video will be downloaded during ad request.
-
Field Details
-
ALL
static final int ALLAll assets will be loaded during ad request. Default in most ad formats- See Also:
-
IMAGE
static final int IMAGEOnly images will be loaded during ad request. Video ad elements will use streaming api- See Also:
-
VIDEO
static final int VIDEOOnly video will be downloaded during ad request. Images will be downloaded when banner shows- See Also:
-
NONE
static final int NONEAssets 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- See Also:
-