public static class

SVSContentData.Builder

extends Object
java.lang.Object
   ↳ com.smartadserver.android.instreamsdk.model.contentdata.SVSContentData.Builder

Class Overview

Builder class for SVSContentData instances

Summary

Public Constructors
Builder()
Creates a new SVSContentData Builder object.
Public Methods
SVSContentData build()
Creates a SVSContentData instance from this SVSContentData.Builder parameters
SVSContentData.Builder setContentID(String contentID)
Sets the identifier of the video content.
SVSContentData.Builder setContentProviderID(String contentProviderID)
Sets the provider identifier of the video content.
SVSContentData.Builder setContentProviderName(String contentProviderName)
Sets the provider name of the video content.
SVSContentData.Builder setContentTitle(String contentTitle)
Sets the title of the video content.
SVSContentData.Builder setExternalContentID(String externalContentID)
Sets the identifier of the content in a third party system.
SVSContentData.Builder setVideoCMSID(String videoCMSID)
Sets the identifier of the video content management system in charge of the content.
SVSContentData.Builder setVideoContentCategory(String videoContentCategory)
Sets the category of the video content.
SVSContentData.Builder setVideoContentDistributorID(String videoContentDistributorID)
Sets the distributor identifier of the video content.
SVSContentData.Builder setVideoContentDistributorName(String videoContentDistributorName)
Sets the distributor name of the video content.
SVSContentData.Builder setVideoContentDuration(int videoContentDuration)
Sets the duration of the video content (in seconds).
SVSContentData.Builder setVideoContentRating(String videoContentRating)
Sets the permissible audience for this video content.
SVSContentData.Builder setVideoContentTags(String[] videoContentTags)
Sets an array of keywords qualifying the video content.
SVSContentData.Builder setVideoContentType(String videoContentType)
Sets the type of the video content.
SVSContentData.Builder setVideoEpisodeNumber(int videoEpisodeNumber)
Sets the episode number of the video content.
SVSContentData.Builder setVideoSeasonNumber(int videoSeasonNumber)
Sets the season number of the video content.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Builder ()

Creates a new SVSContentData Builder object.

Public Methods

public SVSContentData build ()

Creates a SVSContentData instance from this SVSContentData.Builder parameters

public SVSContentData.Builder setContentID (String contentID)

Sets the identifier of the video content.

public SVSContentData.Builder setContentProviderID (String contentProviderID)

Sets the provider identifier of the video content.

public SVSContentData.Builder setContentProviderName (String contentProviderName)

Sets the provider name of the video content.

public SVSContentData.Builder setContentTitle (String contentTitle)

Sets the title of the video content.

public SVSContentData.Builder setExternalContentID (String externalContentID)

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

public SVSContentData.Builder setVideoCMSID (String videoCMSID)

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

public SVSContentData.Builder setVideoContentCategory (String videoContentCategory)

Sets the category of the video content.

public SVSContentData.Builder setVideoContentDistributorID (String videoContentDistributorID)

Sets the distributor identifier of the video content.

public SVSContentData.Builder setVideoContentDistributorName (String videoContentDistributorName)

Sets the distributor name of the video content.

public SVSContentData.Builder setVideoContentDuration (int videoContentDuration)

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

public SVSContentData.Builder setVideoContentRating (String videoContentRating)

Sets the permissible audience for this video content.

public SVSContentData.Builder setVideoContentTags (String[] videoContentTags)

Sets an array of keywords qualifying the video content.

public SVSContentData.Builder setVideoContentType (String videoContentType)

Sets the type of the video content.

public SVSContentData.Builder setVideoEpisodeNumber (int videoEpisodeNumber)

Sets the episode number of the video content.

public SVSContentData.Builder setVideoSeasonNumber (int videoSeasonNumber)

Sets the season number of the video content.