setVolume

abstract fun setVolume(videoAd: VideoAd, volume: Float)

Sets ad player volume, with 0 being silence and 1 being maximum volume level

Parameters

videoAd

object providing information about the advertising video file to be played. videoAd should be passed back in all callbacks to InstreamAdPlayerListener

volume

volume level in range 0.0, 1.0