Package com.naver.ads.video.vast
Interface SelectedAd
-
- All Implemented Interfaces:
-
android.os.Parcelable,com.naver.ads.video.player.ImpressionTrackingProvider,com.naver.ads.video.player.TrackingProvider,com.naver.ads.video.vast.ResolvedAd
public interface SelectedAd implements ResolvedAd
The object that holds the data corresponding to the main ad that was finally selected.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSelectedAd.Companion
-
Method Summary
Modifier and Type Method Description abstract IntegergetLinearBitrate()The media bitrate in Kbps of the selected creative if linear, else returns 0. abstract IntegergetLinearWidth()The media width in pixels of the selected creative if linear, else returns 0. abstract IntegergetLinearHeight()The media height in pixels of the selected creative if linear, else returns 0. abstract IntegergetNonLinearWidth()The width of the selected creative if not-linear, else returns 0. abstract IntegergetNonLinearHeight()The height of the selected creative if not-linear, else returns 0. abstract BooleanisLinear()Indicates whether the ad's current mode of operation is linear or non-linear. -
-
Method Detail
-
getLinearBitrate
abstract Integer getLinearBitrate()
The media bitrate in Kbps of the selected creative if linear, else returns 0.
-
getLinearWidth
abstract Integer getLinearWidth()
The media width in pixels of the selected creative if linear, else returns 0.
-
getLinearHeight
abstract Integer getLinearHeight()
The media height in pixels of the selected creative if linear, else returns 0.
-
getNonLinearWidth
abstract Integer getNonLinearWidth()
The width of the selected creative if not-linear, else returns 0.
-
getNonLinearHeight
abstract Integer getNonLinearHeight()
The height of the selected creative if not-linear, else returns 0.
-
-
-
-