AdMediaInfo

class AdMediaInfo


The minimal information required to play an ad. Note that multiple AdMediaInfo objects may resolve to the same content, but refer to different ads. Thus when comparing AdMediaInfo objects one should use the identity equality check, as opposed to comparing their URLs.

Summary

Public functions

String?

Returns the audio MIME type of the ad media.

String?

Returns the video MIME type of the ad media.

Public properties

String!

Public functions

getAudioMimeType

fun getAudioMimeType(): String?

Returns the audio MIME type of the ad media.

getVideoMimeType

fun getVideoMimeType(): String?

Returns the video MIME type of the ad media.

Public properties

url

val urlString!