java.lang.Object | ||
↳ | SCSConfiguration | |
↳ | com.smartadserver.android.instreamsdk.util.SVSConfiguration |
This class holds the global configuration of the SDK.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void |
configure(Context context, int siteId)
Configures the SDK for a given site ID.
| ||||||||||
SVSAdPlayerConfiguration |
getDefaultAdPlayerConfiguration()
Returns the default ad player configuration used by the Video SDK.
| ||||||||||
SVSAdRule[] |
getDefaultAdRules()
Returns the default ad rules used by the Video SDK.
| ||||||||||
synchronized static SVSConfiguration |
getSharedInstance()
Retrieves the shared SVSConfiguration instance.
| ||||||||||
void |
setDefaultAdPlayerConfiguration(SVSAdPlayerConfiguration defaultAdPlayerConfiguration)
Sets the default ad player configuration used by the Video SDK.
| ||||||||||
void |
setDefaultAdRules(SVSAdRule[] defaultAdRules)
Sets the default ad rules used by the Video SDK.
| ||||||||||
void |
setLoggingEnabled(boolean loggingEnabled)
Returns whether the logging is enabled.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Configures the SDK for a given site ID.
context | a context. |
---|---|
siteId | the site ID that will be used in this application. |
ConfigurationException |
---|
Returns the default ad player configuration used by the Video SDK.
Returns the default ad rules used by the Video SDK.
Retrieves the shared SVSConfiguration instance.
Sets the default ad player configuration used by the Video SDK.
defaultAdPlayerConfiguration | the default ad player configuration used by the Video SDK. |
---|
Sets the default ad rules used by the Video SDK.
defaultAdRules | the default ad rules used by the Video SDK. |
---|
Returns whether the logging is enabled.
loggingEnabled | true if the SDK needs to display debug information in the Logcat console, false otherwise. |
---|