How to use Kaltura's API Abstract Classes
Abstract classes cannot be instantiated; therefore abstracts have derived classes, but not objects. For each abstract class, use one of its sub classes.
Each abstract class has a subset of required properties. The specific properties that are required depend on the service/action pair and object used with the sub class.
For example, for the syndicationFeed.add API, select one of the sub classes listed for the abstract KalturaBaseSyndicationFeed class, such as KalturaGenericSyndicationFeed.
The KalturaBaseSyndicationFeed supports the following:
- iTunes
- Yahoo
- KalturaGenericXsltSyndicationFeed a sub class of KalturaGenericSyndicationFeed, which supports running a custom XSLT on the XML feed that the Kaltura system generates internally.
To call the syndicationFeed.add API with the KalturaGenericXsltSyndicationFeed sub class use the following: