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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAdHeight()
Gets height of Media file to be presentedint
getAdWidth()
Gets width of Media file to be presentedjava.lang.String
getUrl()
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 interfacecom.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 interfacecom.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 interfacecom.yandex.mobile.ads.video.playback.model.VideoAdPlaybackInfo
- Returns:
- Height of instream ad media file
-
-