Migration guide

This page will walk you through the migration process from a SDK version to another, starting from version 7.0.0.

We advise you to update your SDK version regularly to avoid having too much work to do during migration and to have access to new features and bug fixes.

  1. Migration from 7.5 to 7.7
    1. SVSContentData Builder

Migration from 7.5 to 7.7

SVSContentData Builder

The SVSContentData constructor is now deprecated and will be unavailable in a future release. We encourage you to create your SVSContentData instances using the new Builder instead.

By using the Builder instead of the initial constructor, you will be able setup only your needed parameters and ignore the others.

To do so, you will have to create an instance of SVSContentData.Builder then set your parameters by using its multiples setter methods. See yourself below:


// Instantiate the builder.
SVSContentData.Builder builder = new SVSContentData.Builder();

// Sets your parameters.
builder.setContentID("contentID");
builder.setContentTitle("contentTitle");
builder.setVideoContentType("videoContentType");
builder.setVideoContentCategory("videoContentCategory");
builder.setVideoContentDuration(60);
builder.setVideoSeasonNumber(1);
builder.setVideoEpisodeNumber(2);
builder.setVideoContentRating("videoContentRating");
builder.setContentProviderID("contentProviderID");
builder.setContentProviderName("contentProviderName");
builder.setVideoContentDistributorID("videoContainerDistributorID");
builder.setVideoContentDistributorName("videoContainerDistributerName");
builder.setVideoContentTags(new String[]{"tag1", "tag2"});
builder.setExternalContentID("externalContentID");
builder.setVideoCMSID("videoCMSID");

// Then build your instance of SVSContentData
SVSContentData contentData = builder.build();