DataSources
-
Fetches
RootSection
that holds a sequence of DataSources for lists ofCategory
andViewable
data sources.let rootDS = RootDataSource(withConfiguration: self.yaddoConfig, forPath: "root-vod") rootDS.state.bind { state in switch state { ///No request is currently active case .idle: break ///Request is active case .loading: break ///Request succeeded with response case let .success(sections): print(sections) ///Request failed case .error: break } } rootDS.startRequest()
The list of ´RootSection` has datasources that follows the same pattern. You would want to join all of them together.
See moreDeclaration
Swift
public final class RootDataSource: iRootDataSource
-
Fetches `Viewables that hold assetIds for streaming and other metadata
See moreDeclaration
Swift
public final class ViewableDataSource: iViewableDataSource
-
Declaration
Swift
public final class CategoryDataSource: iCategoryDataSource
-
Allows full text search for
See moreViewables
Declaration
Swift
final public class SearchViewableDataSource: iViewableDataSource