StreamDisplayContainer

public interface StreamDisplayContainer implements BaseDisplayContainer

A display container specific to server-side ad insertion.

Public Method Summary

abstract VideoStreamPlayer
getVideoStreamPlayer()
Returns the previously set player used for server-side ad insertion, or null if none has been set.
abstract void
setVideoStreamPlayer(VideoStreamPlayer videoStreamPlayer)
This method is deprecated. Please construct the AdDisplayContainer by passing the ERROR(/VideoAdPlayer) in the constructor, instead of using setPlayer.

Inherited Method Summary

Public Methods

public abstract VideoStreamPlayer getVideoStreamPlayer ()

Returns the previously set player used for server-side ad insertion, or null if none has been set.

public abstract void setVideoStreamPlayer (VideoStreamPlayer videoStreamPlayer)

This method is deprecated.
Please construct the AdDisplayContainer by passing the ERROR(/VideoAdPlayer) in the constructor, instead of using setPlayer.

Provides a video player to the SDK that is used to display content with server-side inserted ads. Required for server-side ad insertion playback.

Parameters
videoStreamPlayer