public class MediaFile
extends java.lang.Object
implements com.yandex.mobile.ads.video.playback.model.VideoAdPlaybackInfo
| Constructor and Description |
|---|
MediaFile(InstreamAdSkipInfo skipInfo,
java.lang.String url,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAdHeight()
Gets height of Media file to be presented
|
int |
getAdWidth()
Gets width of Media file to be presented
|
InstreamAdSkipInfo |
getSkipInfo()
Provides information about possibility to skip this
|
java.lang.String |
getUrl()
Gets url of Media file to be presented
|
public MediaFile(@NonNull
InstreamAdSkipInfo skipInfo,
@NonNull
java.lang.String url,
int width,
int height)
@NonNull public java.lang.String getUrl()
getUrl in interface com.yandex.mobile.ads.video.playback.model.VideoAdPlaybackInfo@NonNull public InstreamAdSkipInfo getSkipInfo()
InstreamAdSkipInfo objectpublic int getAdWidth()
getAdWidth in interface com.yandex.mobile.ads.video.playback.model.VideoAdPlaybackInfopublic int getAdHeight()
getAdHeight in interface com.yandex.mobile.ads.video.playback.model.VideoAdPlaybackInfo