Search in sources :

Example 1 with PlacementType

use of org.prebid.mobile.rendering.models.PlacementType in project prebid-mobile-android by prebid.

the class BannerView method setVideoPlacementType.

public void setVideoPlacementType(VideoPlacementType videoPlacement) {
    mAdUnitConfig.setAdUnitIdentifierType(AdConfiguration.AdUnitIdentifierType.VAST);
    final PlacementType placementType = VideoPlacementType.mapToPlacementType(videoPlacement);
    mAdUnitConfig.setPlacementType(placementType);
}
Also used : PlacementType(org.prebid.mobile.rendering.models.PlacementType) VideoPlacementType(org.prebid.mobile.rendering.bidding.enums.VideoPlacementType)

Aggregations

VideoPlacementType (org.prebid.mobile.rendering.bidding.enums.VideoPlacementType)1 PlacementType (org.prebid.mobile.rendering.models.PlacementType)1