java.lang.Object | |
↳ | com.smartadserver.android.instreamsdk.model.adplayerconfig.SVSAdPlayerConfiguration |
This class holds all configuration options for the ad player, stored in dedicated classes
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SVSAdPlayerConfiguration()
Constructor with default parameters
| |||||||||||
SVSAdPlayerConfiguration(String json)
Constructor with a JSON
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SVSAdPlayerConfigurationDisplayOptions |
getDisplayOptions()
Returns the inner SVSAdPlayerConfigurationDisplayOptions object
| ||||||||||
SVSAdPlayerConfigurationPublisherOptions |
getPublisherOptions()
Returns the inner SVSAdPlayerConfigurationPublisherOptions object
| ||||||||||
SVSAdPlayerConfigurationRTBOptions |
getRTBOptions()
Returns the inner SVSAdPlayerConfigurationRTBOptions object
| ||||||||||
static Future<SVSAdPlayerConfiguration> |
parseFromUrl(String url)
Method that parses a JSON located at the specified url and returns a Future <
SVSAdPlayerConfiguration >. | ||||||||||
void |
setDisplayOptions(SVSAdPlayerConfigurationDisplayOptions displayOptions)
Sets the inner SVSAdPlayerConfigurationDisplayOptions object
| ||||||||||
void |
setPublisherOptions(SVSAdPlayerConfigurationPublisherOptions publisherOptions)
Sets the inner SVSAdPlayerConfigurationPublisherOptions object
| ||||||||||
void |
setRTBOptions(SVSAdPlayerConfigurationRTBOptions RTBOptions)
Sets the inner SVSAdPlayerConfigurationRTBOptions object
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Constructor with default parameters
Constructor with a JSON
JSONException |
---|
Returns the inner SVSAdPlayerConfigurationDisplayOptions object
Returns the inner SVSAdPlayerConfigurationPublisherOptions object
Returns the inner SVSAdPlayerConfigurationRTBOptions object
Method that parses a JSON located at the specified url and returns a Future <SVSAdPlayerConfiguration
>.
The SVSAdPlayerConfiguration
can then be retrieved from the Future, at convenience, with the blocking
get() method.
url | the url of the JSON file |
---|
SVSAdPlayerConfiguration
> holding the parsed SVSAdPlayerConfiguration instance
Sets the inner SVSAdPlayerConfigurationDisplayOptions object
Sets the inner SVSAdPlayerConfigurationPublisherOptions object
Sets the inner SVSAdPlayerConfigurationRTBOptions object