Ejemplo n.º 1
0
        public KalturaPlaylist GetStatsFromContent(KalturaPlaylistType playlistType, string playlistContent)
        {
            KalturaParams kparams = new KalturaParams();

            kparams.AddEnumIfNotNull("playlistType", playlistType);
            kparams.AddStringIfNotNull("playlistContent", playlistContent);
            _Client.QueueServiceCall("playlist", "getStatsFromContent", kparams);
            if (this._Client.IsMultiRequest)
            {
                return(null);
            }
            XmlElement result = _Client.DoQueue();

            return((KalturaPlaylist)KalturaObjectFactory.Create(result));
        }
Ejemplo n.º 2
0
        public IList <KalturaBaseEntry> ExecuteFromContent(KalturaPlaylistType playlistType, string playlistContent, string detailed)
        {
            KalturaParams kparams = new KalturaParams();

            kparams.AddEnumIfNotNull("playlistType", playlistType);
            kparams.AddStringIfNotNull("playlistContent", playlistContent);
            kparams.AddStringIfNotNull("detailed", detailed);
            _Client.QueueServiceCall("playlist", "executeFromContent", kparams);
            if (this._Client.IsMultiRequest)
            {
                return(null);
            }
            XmlElement result             = _Client.DoQueue();
            IList <KalturaBaseEntry> list = new List <KalturaBaseEntry>();

            foreach (XmlElement node in result.ChildNodes)
            {
                list.Add((KalturaBaseEntry)KalturaObjectFactory.Create(node));
            }
            return(list);
        }
Ejemplo n.º 3
0
 public IList <KalturaBaseEntry> ExecuteFromContent(KalturaPlaylistType playlistType, string playlistContent)
 {
     return(this.ExecuteFromContent(playlistType, playlistContent, ""));
 }