You are here

function KalturaClient::addDownload in Kaltura 6

Same name and namespace in other branches
  1. 5 kaltura_client/kaltura_client.php \KalturaClient::addDownload()

File

kaltura_client/kaltura_client.php, line 462

Class

KalturaClient

Code

function addDownload($kalturaSessionUser, $entryId, $fileFormat, $entryVersion = null) {
  $params = array();
  $params["entry_id"] = $entryId;
  $params["file_format"] = $fileFormat;
  $this
    ->addOptionalParam($params, "entry_version", $entryVersion);
  $result = $this
    ->hit("adddownload", $kalturaSessionUser, $params);
  return $result;
}