You are here

function KalturaClient::startWidgetSession in Kaltura 5

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

File

kaltura_client/kaltura_client.php, line 1716

Class

KalturaClient

Code

function startWidgetSession($kalturaSessionUser, $widgetId, $expiry = 86400) {
  $params = array();
  $params["widget_id"] = $widgetId;
  $this
    ->addOptionalParam($params, "expiry", $expiry);
  $result = $this
    ->hit("startwidgetsession", $kalturaSessionUser, $params);
  return $result;
}