Interface MediaFile

  • 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 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