Package com.my.target.mediation
Interface MediationNativeAdConfig
-
- All Superinterfaces:
MediationAdConfig
public interface MediationNativeAdConfig extends MediationAdConfig
Implementation of this interface will be passed to mediation adapters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetAdChoicesPlacement()An implementation will return actual adChoices placement for mediation configintgetCachePolicy()An implementation will return actual cache policy for mediation configMenuFactorygetMenuFactory()booleanisAutoLoadImages()Deprecated.usegetCachePolicy()booleanisAutoLoadVideo()Deprecated.usegetCachePolicy()-
Methods inherited from interface com.my.target.mediation.MediationAdConfig
getAdNetworkConfig, getAge, getGender, getPayload, getPlacementId, getPrivacy, getServerParams, isUserAgeRestricted, isUserConsent, isUserConsentSpecified
-
-
-
-
Method Detail
-
isAutoLoadImages
@Deprecated boolean isAutoLoadImages()
Deprecated.usegetCachePolicy()- Returns:
- should load images right when ads loads
-
isAutoLoadVideo
@Deprecated boolean isAutoLoadVideo()
Deprecated.usegetCachePolicy()- Returns:
- should load video right when ads loads
-
getCachePolicy
int getCachePolicy()
An implementation will return actual cache policy for mediation config- Returns:
- current cache policy
- See Also:
CachePolicy
-
getAdChoicesPlacement
int getAdChoicesPlacement()
An implementation will return actual adChoices placement for mediation config- Returns:
- current adChoices placement
- See Also:
AdChoicesPlacement
-
getMenuFactory
@Nullable MenuFactory getMenuFactory()
- Returns:
- menuFactory to display adChoices options
- See Also:
MenuFactory
-
-