コード例 #1
0
 public KalturaMediaInfoListResponse list(KalturaMediaInfoFilter filter, KalturaFilterPager pager)
     throws KalturaApiException {
   KalturaParams kparams = new KalturaParams();
   if (filter != null) kparams.add("filter", filter.toParams());
   if (pager != null) kparams.add("pager", pager.toParams());
   this.kalturaClient.queueServiceCall("adminconsole_mediainfo", "list", kparams);
   if (this.kalturaClient.isMultiRequest()) return null;
   Element resultXmlElement = this.kalturaClient.doQueue();
   return (KalturaMediaInfoListResponse) KalturaObjectFactory.create(resultXmlElement);
 }
コード例 #2
0
 public KalturaDistributionProfileListResponse list(
     KalturaDistributionProfileFilter filter, KalturaFilterPager pager)
     throws KalturaApiException {
   KalturaParams kparams = new KalturaParams();
   if (filter != null) kparams.add("filter", filter.toParams());
   if (pager != null) kparams.add("pager", pager.toParams());
   this.kalturaClient.queueServiceCall("contentdistribution_distributionprofile", "list", kparams);
   if (this.kalturaClient.isMultiRequest()) return null;
   Element resultXmlElement = this.kalturaClient.doQueue();
   return (KalturaDistributionProfileListResponse) KalturaObjectFactory.create(resultXmlElement);
 }