public class

SVSAdPlayerConfigurationRTBOptions

extends Object
implements Parcelable Serializable
java.lang.Object
   ↳ com.smartadserver.android.instreamsdk.model.adplayerconfig.SVSAdPlayerConfigurationRTBOptions

Class Overview

This class holds the configuration options related to RTB requests.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
SVSAdPlayerConfigurationRTBOptions()
Default constructor with default values
SVSAdPlayerConfigurationRTBOptions(String json)
Default constructor from a JSON
Public Methods
int getMaximumVideoBitrate()
Returns the maximum bitrate (in kbps) for requested video creatives.
int getMaximumVideoDuration()
Returns the maximum duration (in milliseconds) for requested video creatives.
int getMinimumVideoBitrate()
Returns the minimum bitrate (in kbps) for requested video creatives.
int getMinimumVideoDuration()
Returns the minimum duration (in milliseconds) for requested video creatives.
String getPageDomain()
Returns The page domain of the app's website.
void getParameters(HashMap<String, String> parameters)
Fills the passed HashMap with all relevant parameters of this SVSAdPlayerConfigurationRTBOptions Object
SVSAdPlayerConfigurationPlaybackMethod getPlaybackMethod()
Returns the playback method used by the video player.
void setMaximumVideoBitrate(int maximumVideoBitrate)
Sets the maximum bitrate (in kbps) for requested video creatives.
void setMaximumVideoDuration(int maximumVideoDuration)
Sets the maximum duration (in milliseconds) for requested video creatives.
void setMinimumVideoBitrate(int minimumVideoBitrate)
Sets the minimum bitrate (in kbps) for requested video creatives.
void setMinimumVideoDuration(int minimumVideoDuration)
Sets the minimum duration (in milliseconds) for requested video creatives.
void setPageDomain(String pageDomain)
Sets The page domain of the app's website.
void setPlaybackMethod(SVSAdPlayerConfigurationPlaybackMethod playbackMethod)
Sets the playback method used by the video player.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public SVSAdPlayerConfigurationRTBOptions ()

Default constructor with default values

public SVSAdPlayerConfigurationRTBOptions (String json)

Default constructor from a JSON

Throws
JSONException

Public Methods

public int getMaximumVideoBitrate ()

Returns the maximum bitrate (in kbps) for requested video creatives. This information will be sent in the request only if greater than 0.

public int getMaximumVideoDuration ()

Returns the maximum duration (in milliseconds) for requested video creatives. This information will be sent in the request only if greater than 0.

public int getMinimumVideoBitrate ()

Returns the minimum bitrate (in kbps) for requested video creatives. This information will be sent in the request only if greater than 0.

public int getMinimumVideoDuration ()

Returns the minimum duration (in milliseconds) for requested video creatives. This information will be sent in the request only if greater than 0.

public String getPageDomain ()

Returns The page domain of the app's website. This information will be sent in the ad request only if not null.

public void getParameters (HashMap<String, String> parameters)

Fills the passed HashMap with all relevant parameters of this SVSAdPlayerConfigurationRTBOptions Object

public SVSAdPlayerConfigurationPlaybackMethod getPlaybackMethod ()

Returns the playback method used by the video player.

public void setMaximumVideoBitrate (int maximumVideoBitrate)

Sets the maximum bitrate (in kbps) for requested video creatives. This information will be sent in the request only if greater than 0.

public void setMaximumVideoDuration (int maximumVideoDuration)

Sets the maximum duration (in milliseconds) for requested video creatives. This information will be sent in the request only if greater than 0.

public void setMinimumVideoBitrate (int minimumVideoBitrate)

Sets the minimum bitrate (in kbps) for requested video creatives. This information will be sent in the request only if greater than 0.

public void setMinimumVideoDuration (int minimumVideoDuration)

Sets the minimum duration (in milliseconds) for requested video creatives. This information will be sent in the request only if greater than 0.

public void setPageDomain (String pageDomain)

Sets The page domain of the app's website. This information will be sent in the ad request only if not null.

public void setPlaybackMethod (SVSAdPlayerConfigurationPlaybackMethod playbackMethod)

Sets the playback method used by the video player.