java.lang.Object | |
↳ | com.smartadserver.android.instreamsdk.model.contentdata.SVSContentData |
This class holds the details of the content video. Passed to the AdServer for targeting. This object should be passed to your instance of SVSAdManager during initialization.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | SVSContentData.Builder | Builder class for SVSContentData instances
|
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SVSContentData(String contentID, String contentTitle, String videoContentType, String videoContentCategory, int videoContentDuration, int videoSeasonNumber, int videoEpisodeNumber, String videoContentRating, String contentProviderID, String contentProviderName, String videoContentDistributorID, String videoContentDistributorName, String[] videoContentTags, String externalContentID, String videoCMSID)
This constructor is deprecated.
This constructor is deprecated and will be unavailable in a future release. To create an instance of SVSContentData, please use the static class
SVSContentData.Builder .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getContentID()
Returns the identifier of the content video.
| ||||||||||
String |
getContentProviderID()
Returns the identifier of the content provider.
| ||||||||||
String |
getContentProviderName()
Returns the name of the content provider.
| ||||||||||
String |
getContentTitle()
Returns the title of the content video
| ||||||||||
String |
getExternalContentID()
Returns the identifier of the content in a third party system.
| ||||||||||
void |
getParameters(HashMap<String, String> parameters)
Fills the passed HashMap with all relevant parameters of this
SVSContentData Object
| ||||||||||
String |
getVideoCMSID()
Returns the identifier of the video content management system in charge of the content.
| ||||||||||
String |
getVideoContentCategory()
Returns the category of the content video.
| ||||||||||
String |
getVideoContentDistributorID()
Returns the identifier of the content distributor.
| ||||||||||
String |
getVideoContentDistributorName()
Returns the name of the content distributor.
| ||||||||||
int |
getVideoContentDuration()
Returns the duration of the content video (in seconds).
| ||||||||||
String |
getVideoContentRating()
Returns the permissible audience of the content video (general audiences, parental guidance, adult, etc...).
| ||||||||||
String[] |
getVideoContentTags()
Returns the array of keywords describing the content video.
| ||||||||||
String |
getVideoContentType()
Returns the type of the content video
| ||||||||||
int |
getVideoEpisodeNumber()
Returns the episode number of the content video.
| ||||||||||
int |
getVideoSeasonNumber()
Returns the season number of the content video.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
This constructor is deprecated.
This constructor is deprecated and will be unavailable in a future release. To create an instance of SVSContentData, please use the static class SVSContentData.Builder
.
Initialize a SVSContentData instance. This class forwards information about the video content to the AdServer.
contentID | Identifier of the video content. |
---|---|
contentTitle | Title of the video content. |
videoContentType | Type of the video content. |
videoContentCategory | Category of the video content. |
videoContentDuration | Duration of the video content (in seconds). |
videoSeasonNumber | Season number of the video content. |
videoEpisodeNumber | Episode number of the video content. |
videoContentRating | Permissible audience for this video content. |
contentProviderID | Provider identifier of the video content. |
contentProviderName | Provider name of the video content. |
videoContentDistributorID | Distributor identifier of the video content. |
videoContentDistributorName | Distributor name of the video content. |
videoContentTags | An array of keywords qualifying the video content. |
Returns the identifier of the content video.
Returns the identifier of the content provider.
Returns the name of the content provider.
Returns the title of the content video
Returns the identifier of the content in a third party system.
Fills the passed HashMap with all relevant parameters of this SVSContentData
Object
Returns the identifier of the video content management system in charge of the content.
Returns the category of the content video.
Returns the identifier of the content distributor.
Returns the name of the content distributor.
Returns the duration of the content video (in seconds).
Returns the permissible audience of the content video (general audiences, parental guidance, adult, etc...).
Returns the array of keywords describing the content video.
Returns the type of the content video
Returns the episode number of the content video.
Returns the season number of the content video.