public class VideoItem extends Object
LaunchDirective will contain a
VideoItem that will be played on user devices. The video item will contain the source and
the metadata information of the video.LaunchDirective.setVideoItem(VideoItem)| Constructor and Description |
|---|
VideoItem() |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
getMetadata()
Returns the video metadata.
|
String |
getSource()
Returns the video source.
|
void |
setMetadata(Metadata metadata)
Sets the video metadata.
|
void |
setSource(String source)
Sets the video source, which must be an HTTPS URL to the content.
|
public String getSource()
public void setSource(String source)
source - the video sourcepublic Metadata getMetadata()
public void setMetadata(Metadata metadata)
metadata - the video metadataCopyright © 2017. All rights reserved.