com.yandex.mobile.ads.video.playback.model

Interface MediaFile

  1. Method Summary
  2. Method Detail
    1. getUrl
    2. getAdWidth
    3. getAdHeight
All Superinterfaces:
com.yandex.mobile.ads.video.playback.model.VideoAdPlaybackInfo


public interface MediaFile
extends com.yandex.mobile.ads.video.playback.model.VideoAdPlaybackInfo
This interface provides information for InstreamAdPlayer about instream ad media file

Method Summary

All Methods
Instance Methods
Abstract Methods
Modifier and TypeMethod and Description
intgetAdHeight()
Gets height of Media file to be presented
intgetAdWidth()
Gets width of Media file to be presented
java.lang.StringgetUrl()
Gets url of Media file to be presented

Method Detail

getUrl

@NonNull
java.lang.String getUrl()
Gets url of Media file to be presented
Specified by:
getUrl in interface com.yandex.mobile.ads.video.playback.model.VideoAdPlaybackInfo
Returns:
Url of instream ad media file

getAdWidth

int getAdWidth()
Gets width of Media file to be presented
Specified by:
getAdWidth in interface com.yandex.mobile.ads.video.playback.model.VideoAdPlaybackInfo
Returns:
Width of instream ad media file

getAdHeight

int getAdHeight()
Gets height of Media file to be presented
Specified by:
getAdHeight in interface com.yandex.mobile.ads.video.playback.model.VideoAdPlaybackInfo
Returns:
Height of instream ad media file