VolumeProvider

interface VolumeProvider

Known direct subclasses
VideoAdPlayer

Defines the set of methods that a video player must implement to be used by the IMA SDK, as well as a set of callbacks that it must fire.

VideoStreamPlayer

Defines a set of methods that a video player must implement to be used by the IMA SDK for dynamic ad insertion.


An interface for exposing player volume.

Summary

Public functions

Int

Returns the volume of the player as a percentage from 0 to 100.

Public functions

getVolume

fun getVolume(): Int

Returns the volume of the player as a percentage from 0 to 100.