com.yandex.mobile.ads.video.playback.model
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
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
|
java.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