public class

SVSContentData

extends Object
implements Parcelable Serializable
java.lang.Object
   ↳ com.smartadserver.android.instreamsdk.model.contentdata.SVSContentData

Class Overview

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.

Summary

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

Public Constructors

public 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.

Initialize a SVSContentData instance. This class forwards information about the video content to the AdServer.

Parameters
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.

Public Methods

public String getContentID ()

Returns the identifier of the content video.

public String getContentProviderID ()

Returns the identifier of the content provider.

public String getContentProviderName ()

Returns the name of the content provider.

public String getContentTitle ()

Returns the title of the content video

public String getExternalContentID ()

Returns the identifier of the content in a third party system.

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

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

public String getVideoCMSID ()

Returns the identifier of the video content management system in charge of the content.

public String getVideoContentCategory ()

Returns the category of the content video.

public String getVideoContentDistributorID ()

Returns the identifier of the content distributor.

public String getVideoContentDistributorName ()

Returns the name of the content distributor.

public int getVideoContentDuration ()

Returns the duration of the content video (in seconds).

public String getVideoContentRating ()

Returns the permissible audience of the content video (general audiences, parental guidance, adult, etc...).

public String[] getVideoContentTags ()

Returns the array of keywords describing the content video.

public String getVideoContentType ()

Returns the type of the content video

public int getVideoEpisodeNumber ()

Returns the episode number of the content video.

public int getVideoSeasonNumber ()

Returns the season number of the content video.