Package com.my.target.mediation
Interface MediationNativeAdConfig
-
- All Implemented Interfaces:
-
com.my.target.mediation.MediationAdConfig
public interface MediationNativeAdConfig implements MediationAdConfig
Implementation of this interface will be passed to mediation adapters
-
-
Method Summary
Modifier and Type Method Description abstract intgetAdChoicesPlacement()An implementation will return actual adChoices placement for mediation config abstract intgetCachePolicy()An implementation will return actual cache policy for mediation config abstract MenuFactorygetMenuFactory()abstract booleanisAutoLoadImages()abstract booleanisAutoLoadVideo()-
Methods inherited from class com.my.target.mediation.MediationAdConfig
getAdNetworkConfig, getAge, getGender, getPayload, getPlacementId, getPrivacy, getServerParams, isUserAgeRestricted, isUserConsent, isUserConsentSpecified -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAdChoicesPlacement
abstract int getAdChoicesPlacement()
An implementation will return actual adChoices placement for mediation config
- Returns:
current adChoices placement Value is TOP_RIGHT, TOP_LEFT, BOTTOM_RIGHT, BOTTOM_LEFT, MANUAL, or DRAWING_MANUAL
-
getCachePolicy
abstract int getCachePolicy()
An implementation will return actual cache policy for mediation config
-
getMenuFactory
@Nullable() abstract MenuFactory getMenuFactory()
- Returns:
menuFactory to display adChoices options
-
isAutoLoadImages
@Deprecated() abstract boolean isAutoLoadImages()
- Returns:
should load images right when ads loads
-
isAutoLoadVideo
@Deprecated() abstract boolean isAutoLoadVideo()
- Returns:
should load video right when ads loads
-
-
-
-