Exemplo n.º 1
0
        public KalturaMediaEntry AddContent(string entryId, KalturaResource resource)
        {
            KalturaParams kparams = new KalturaParams();

            kparams.AddStringIfNotNull("entryId", entryId);
            if (resource != null)
            {
                kparams.Add("resource", resource.ToParams());
            }
            _Client.QueueServiceCall("media", "addContent", kparams);
            if (this._Client.IsMultiRequest)
            {
                return(null);
            }
            XmlElement result = _Client.DoQueue();

            return((KalturaMediaEntry)KalturaObjectFactory.Create(result));
        }
Exemplo n.º 2
0
        public KalturaBaseEntry UpdateContent(string entryId, KalturaResource resource, int conversionProfileId)
        {
            KalturaParams kparams = new KalturaParams();

            kparams.AddStringIfNotNull("entryId", entryId);
            if (resource != null)
            {
                kparams.Add("resource", resource.ToParams());
            }
            kparams.AddIntIfNotNull("conversionProfileId", conversionProfileId);
            _Client.QueueServiceCall("baseentry", "updateContent", kparams);
            if (this._Client.IsMultiRequest)
            {
                return(null);
            }
            XmlElement result = _Client.DoQueue();

            return((KalturaBaseEntry)KalturaObjectFactory.Create(result));
        }
Exemplo n.º 3
0
 public KalturaMediaEntry UpdateContent(string entryId, KalturaResource resource)
 {
     return(this.UpdateContent(entryId, resource, Int32.MinValue));
 }